dev1/Dockerfile.server2
2025-07-08 18:47:29 +00:00

10 lines
199 B
Docker

ARG APPPORT=5001
FROM --platform=$TARGETPLATFORM node:20-slim
WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev --ignore-scripts
COPY . .
ENV PORT=5001
EXPOSE 5001
CMD ["npm","run","server2"]