Created
July 22, 2022 15:55
-
-
Save rm3l/d14740f7015b1ff123d5e79162ba35bd to your computer and use it in GitHub Desktop.
NodeJS Dockerfile for testing https://github.com/redhat-developer/odo/issues/5450
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 quay.io/phmartin/node:17 | |
WORKDIR /usr/src/app | |
COPY package*.json ./ | |
RUN npm install | |
COPY . . | |
EXPOSE 8080 | |
CMD [ "node", "server.js" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment