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

10 lines
198 B
Docker

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