build: migrate to new docker-first workflow

This commit is contained in:
Jannik committed 2026-09-05 16:56:26 +02:00
1 parent 8fcb9e31fa
commit 809b830502
2 files changed
+23

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
node_modules
.git
.env
db
docs
*.webm
+17
View File
@@ -0,0 +1,17 @@
FROM node:20-alpine
WORKDIR /app
# Install dependencies
COPY server/package*.json ./server/
RUN cd server && npm install --production
# Copy app source
COPY server/ ./server/
COPY public/ ./public/
COPY shared/ ./shared/
# Start server
WORKDIR /app/server
EXPOSE 3000
CMD ["npm", "start"]