docker changes

This commit is contained in:
Skye 2022-11-26 19:02:23 +09:00
parent 6c60b9438b
commit a8b145382c
Signed by: me
GPG key ID: 0104BC05F41B77B8

View file

@ -9,6 +9,6 @@ FROM node:18
COPY --from=build-env /app/build /app COPY --from=build-env /app/build /app
COPY package.json /app/package.json COPY package.json /app/package.json
WORKDIR /app WORKDIR /app
env NODE_ENV production env NODE_ENV=production
RUN npm install RUN yarn install --production
CMD ["index.js"] CMD ["index.js"]