Fixed Dockerfile
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Harrison Deng 2024-10-21 04:13:31 +00:00
parent f517485762
commit a30b115df0

View File

@ -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"]