Add server/Dockerfile

This commit is contained in:
2025-11-13 15:27:34 +00:00
parent 7421676664
commit c64a74c52d

14
server/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM node:20-alpine
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm install --omit=dev
COPY src ./src
COPY static ./static
ENV PORT=8080
EXPOSE 8080
CMD ["node", "src/index.js"]