Actualizar captain-definition
This commit is contained in:
parent
d3c86756f0
commit
7f3fd7619a
|
|
@ -3,10 +3,10 @@
|
||||||
"dockerfileLines": [
|
"dockerfileLines": [
|
||||||
"FROM node:20-alpine",
|
"FROM node:20-alpine",
|
||||||
"WORKDIR /app",
|
"WORKDIR /app",
|
||||||
"COPY package*.json ./",
|
|
||||||
"RUN npm install",
|
|
||||||
"COPY . .",
|
"COPY . .",
|
||||||
|
"RUN rm -rf node_modules package-lock.json",
|
||||||
|
"RUN npm install",
|
||||||
"EXPOSE 10000",
|
"EXPOSE 10000",
|
||||||
"CMD [\"npm\", \"start\"]"
|
"CMD [\"node\", \"server.js\"]"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue