Created
May 8, 2023 14:58
-
-
Save osher/1b11980971abeb98bc97d4e25b5050fa to your computer and use it in GitHub Desktop.
the getting-started Dockerfile you get for nodejs docker images
This file contains hidden or 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:lts | |
WORKDIR /app | |
COPY . . | |
RUN npm i | |
EXPOSE 3000/tcp | |
CMD ["npm", "start"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment