Add Dockerfile for backend and frontend

This commit is contained in:
Sabo
2026-06-28 13:21:06 +00:00
parent b7a79c7f56
commit 2b2d2e4689
2 changed files with 28 additions and 0 deletions

13
Dockerfile.backend Normal file
View File

@@ -0,0 +1,13 @@
FROM node:18-alpine
WORKDIR /app/backend
COPY backend/package*.json ./
RUN npm install --production
COPY backend/ .
EXPOSE 3000
CMD ["npm", "start"]