Skip to content

Instantly share code, notes, and snippets.

@Marvinified
Created January 21, 2019 22:36
Show Gist options
  • Save Marvinified/3bddd18341143487ab6a5c2e5de2ad28 to your computer and use it in GitHub Desktop.
Save Marvinified/3bddd18341143487ab6a5c2e5de2ad28 to your computer and use it in GitHub Desktop.
#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