S2OJ/remote_judger/Dockerfile

13 lines
209 B
Docker
Raw Normal View History

2023-01-19 13:26:59 +00:00
FROM node:18
WORKDIR /opt/s2oj_remote_judger
COPY package*.json ./
RUN npm ci --only=production
COPY . .
RUN npm run build
2023-01-20 08:35:02 +00:00
CMD [ "node", "--experimental-specifier-resolution=node", "dist/entrypoint.js" ]