docker changes
This commit is contained in:
parent
6c60b9438b
commit
a8b145382c
1 changed files with 2 additions and 2 deletions
|
@ -9,6 +9,6 @@ FROM node:18
|
|||
COPY --from=build-env /app/build /app
|
||||
COPY package.json /app/package.json
|
||||
WORKDIR /app
|
||||
env NODE_ENV production
|
||||
RUN npm install
|
||||
env NODE_ENV=production
|
||||
RUN yarn install --production
|
||||
CMD ["index.js"]
|
Loading…
Reference in a new issue