Fix: use npm install instead of npm ci
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
FROM node:20-alpine
|
FROM node:20-alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm ci --production
|
RUN npm install --omit=dev
|
||||||
COPY . .
|
COPY . .
|
||||||
EXPOSE 7849
|
EXPOSE 7849
|
||||||
CMD ["node", "server/index.js"]
|
CMD ["node", "server/index.js"]
|
||||||
Reference in New Issue
Block a user