init
This commit is contained in:
8
backend/Dockerfile
Normal file
8
backend/Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM node:20-alpine
|
||||
WORKDIR /app
|
||||
COPY package*.json .
|
||||
RUN npm install
|
||||
COPY . .
|
||||
RUN npx prisma generate
|
||||
EXPOSE 5000
|
||||
CMD ["sh", "-c", "npx prisma migrate deploy && node index.js"]
|
||||
Reference in New Issue
Block a user