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 --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"]
|
Loading…
Reference in a new issue