Add Dockerfile and fix listen address for Docker

This commit is contained in:
Ubuntu
2026-03-01 13:56:49 +00:00
parent a8e52093aa
commit 2aa2a95475
3 changed files with 24 additions and 1 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM node:20-alpine
WORKDIR /app
COPY server/package*.json ./server/
RUN cd server && npm ci --production
COPY server/ ./server/
COPY dist/ ./dist/
EXPOSE 3456
CMD ["node", "server/index.js"]