Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#Filename: Dockerfile
FROM node:10
# Create a work directory and copy over our dependency manifest files.
RUN mkdir /app
WORKDIR /app
COPY /src /app/src
COPY ["package.json", "package-lock.json*", "./"]
RUN npm install
#Expose Port 3000 since this is our dev environment
EXPOSE 3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment