This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
FROM node:18-alpine
|
||||
WORKDIR /app
|
||||
COPY package.json package-lock.json* ./
|
||||
RUN npm install --production
|
||||
COPY . .
|
||||
RUN npm install && npm run build && npm prune --production
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
EXPOSE 3000
|
||||
CMD ["node","dist/server.js"]
|
||||
|
||||
Reference in New Issue
Block a user