This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -1,10 +1,10 @@
|
||||
FROM node:20
|
||||
|
||||
COPY build/* ./app
|
||||
|
||||
EXPOSE 8888
|
||||
|
||||
WORKDIR ./app
|
||||
COPY ./ ./
|
||||
RUN npm install
|
||||
RUN npm build
|
||||
RUN npm run build
|
||||
|
||||
CMD ["node", "app"]
|
||||
EXPOSE 3000
|
||||
|
||||
|
||||
CMD ["npm", "start"]
|
Reference in New Issue
Block a user