fix: install production dependencies in Docker image
This commit is contained in:
@@ -23,6 +23,8 @@ WORKDIR /app
|
|||||||
COPY --from=base /app/build ./build
|
COPY --from=base /app/build ./build
|
||||||
COPY --from=base /app/package.json ./
|
COPY --from=base /app/package.json ./
|
||||||
|
|
||||||
|
RUN npm install --omit=dev
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
ENV PORT=3000
|
ENV PORT=3000
|
||||||
ENV ORIGIN=https://optima.osdci.net
|
ENV ORIGIN=https://optima.osdci.net
|
||||||
|
|||||||
Reference in New Issue
Block a user