1 file changed
+1
-1
+1
-1
@@ -13,6 +13,6 @@ ENV NODE_ENV ${ENV:-production}
|
|||||||
WORKDIR /home/node/app
|
WORKDIR /home/node/app
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN yarn install --frozen-lockfile --production
|
RUN yarn install --frozen-lockfile --production
|
||||||
COPY --from=0 /home/node/app/dist/**/*.js .
|
COPY --from=0 /home/node/app/dist .
|
||||||
EXPOSE ${PORT}
|
EXPOSE ${PORT}
|
||||||
CMD ["node","server/index.js"]
|
CMD ["node","server/index.js"]
|
||||||
Reference in new issue
Block a user