Created
May 24, 2020 07:09
-
-
Save bennyng/01edd6052ad91ad7dd5badece5ef5925 to your computer and use it in GitHub Desktop.
Dockerfile for NestJS (non optimized)
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:13.14-alpine | |
WORKDIR /usr/src/app | |
COPY yarn.lock ./ | |
COPY package.json ./ | |
RUN yarn install --frozen-lockfile | |
COPY . . | |
RUN yarn build | |
CMD ["node", "dist/apps/api/main"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment