Created
September 21, 2022 13:37
-
-
Save sibelius/b56b1e8e42cdd06e3db22c6e6200e01e to your computer and use it in GitHub Desktop.
Dockerfie using yarn install
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:lts-alpine | |
RUN mkdir -p /usr/src/app | |
WORKDIR /usr/src/app | |
COPY yarn.lock /usr/src/app/ | |
COPY package.json /usr/src/app/ | |
RUN yarn install --production --frozen-lockfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment