✅ Fix Jenkinsfile: force recreate + health check
This commit is contained in:
parent
b4eb137d58
commit
afdfeced89
11
Dockerfile
11
Dockerfile
|
|
@ -1,8 +1,11 @@
|
|||
FROM node:18
|
||||
FROM node:18-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm ci
|
||||
RUN npm ci --omit=dev
|
||||
|
||||
COPY . .
|
||||
ENV PORT=4000
|
||||
|
||||
EXPOSE 4000
|
||||
CMD ["npm", "run", "start"]
|
||||
CMD ["npm", "start"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user