S2OJ/remote_judger/Dockerfile

14 lines
232 B
Docker
Raw Permalink Normal View History

2023-01-20 09:54:49 +00:00
FROM node:18.13.0
2023-01-19 13:26:59 +00:00
WORKDIR /opt/s2oj_remote_judger
COPY package*.json ./
2023-01-22 08:25:26 +00:00
RUN npm ci
2023-01-19 13:26:59 +00:00
COPY . .
RUN npm run build
ENV LANG=C.UTF-8 TZ="Asia/Shanghai"
2023-01-20 08:35:02 +00:00
CMD [ "node", "--experimental-specifier-resolution=node", "dist/entrypoint.js" ]