Skip to content

Instantly share code, notes, and snippets.

@adeisbright
Last active April 17, 2023 06:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adeisbright/16fe2e78ef333016c4241b9474172532 to your computer and use it in GitHub Desktop.
Save adeisbright/16fe2e78ef333016c4241b9474172532 to your computer and use it in GitHub Desktop.
#The instructions in this file will be used by docker to build an image
FROM node:16-alpine
RUN echo 'I am testing out working with dockerfile'
WORKDIR /app
COPY package*.json ./
COPY . .
RUN npm install
EXPOSE 3800
CMD ["node" , "dist/src/index.js"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment