fixed docker deployment
This commit is contained in:
10
backend.Dockerfile
Normal file
10
backend.Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user