Last active
February 27, 2022 15:15
-
-
Save joaobispo2077/03a728ba83a10764182be8829cbf01b7 to your computer and use it in GitHub Desktop.
Node.js Javascript Simple Dockerfile Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:16-alpine | |
WORKDIR /app | |
COPY package*.json . | |
RUN npm install | |
COPY src src | |
EXPOSE 3333 | |
CMD ["npm", "start"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment