fixed docker deployment

This commit is contained in:
2025-01-25 17:09:44 +03:00
parent b82c2dc1d6
commit a1890acad0
5 changed files with 24 additions and 8 deletions

10
backend.Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM node:22-bullseye
WORKDIR /opt/backend
COPY backend .
COPY .env .
RUN npm i
EXPOSE 3000
ENTRYPOINT ["npm", "run", "start"]