Files
wx_pyq/Dockerfile
quant 40063d82b8
Some checks failed
Deploy Docker Image / build-and-deploy (push) Has been cancelled
admin
2026-02-27 18:03:55 +08:00

19 lines
259 B
Docker

FROM node:18-alpine
WORKDIR /app
RUN npm config set registry https://registry.npmmirror.com
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
EXPOSE 80
# Serve SPA + proxy streaming API on port 80
ENV PORT=80
CMD ["node", "server/index.mjs"]