File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 1- FROM node:12.18.3 AS build
2-
3- WORKDIR /usr/src/app
4-
5- # Run yarn install early to allow a quick
6- # rebuild if the package.json didn't change
7- COPY package.json yarn.lock ./
8- RUN yarn install --non-interactive && yarn cache clean
9-
10- COPY src/ /usr/src/app/src/
11- COPY crafty.config.js /usr/src/app/crafty.config.js
12-
13- RUN yarn crafty:build
14-
151FROM node:12.18.3
162
173# Install extensions : zip, rar, imagick
@@ -36,9 +22,7 @@ COPY package.json yarn.lock ./
3622RUN yarn install --production --non-interactive && yarn cache clean
3723
3824# Copy files
39- COPY --from=build /usr/src/app/dist/ /usr/src/app/dist/
4025COPY public/ ./public/
41- COPY pages/ ./pages/
4226COPY server/ ./server/
4327COPY src/ ./src/
4428COPY comics next.config.js ./
You can’t perform that action at this time.
0 commit comments