This commit is contained in:
2023-05-26 23:45:36 +03:00
parent 5e377c8213
commit 2f1f7d072c
5 changed files with 51 additions and 32 deletions

14
react/prod.Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM node:20-alpine
ENV PORT=3000
ENV HOST=0.0.0.0
ENV WDS_SOCKET_PORT=0
WORKDIR /app
COPY /app /app
RUN npm ci
RUN npm run build
CMD [ "npm", "start" ]