Files
Checkmate/docker/dev/server.Dockerfile
T
2026-07-07 10:16:56 -07:00

20 lines
276 B
Docker
Executable File

FROM node:22-slim
# Install ping
RUN apt-get update \
&& apt-get install -y iputils-ping \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY ./server/package*.json ./
RUN npm install
COPY ./server/ ./
RUN npm run build
EXPOSE 52345
CMD ["node", "dist/index.js"]