Created
July 23, 2022 19:46
-
-
Save amaurybsouza/29ea3f7d111eb4dc90e0ca0e68a1b902 to your computer and use it in GitHub Desktop.
dockerfile-intro
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
# syntax=docker/dockerfile:1 | |
FROM node:12-alpine | |
RUN apk add --no-cache python2 g++ make | |
WORKDIR /app | |
COPY . . | |
RUN yarn install --production | |
CMD ["node", "src/index.js"] | |
EXPOSE 3000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment