Update Dockerfile
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -1,7 +1,11 @@
|
|||||||
FROM node:22
|
FROM node:latest
|
||||||
|
|
||||||
COPY . .
|
WORKDIR /app
|
||||||
|
|
||||||
RUN npm i
|
COPY . /app
|
||||||
|
|
||||||
|
RUN npm i && \
|
||||||
|
npm run build && \
|
||||||
|
npm run register
|
||||||
|
|
||||||
CMD [ "npm", "run", "start" ]
|
CMD [ "npm", "run", "start" ]
|
||||||
Reference in New Issue
Block a user