mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-09-08 02:25:17 +00:00
14 lines
232 B
Docker
14 lines
232 B
Docker
FROM node:18.13.0
|
|
|
|
WORKDIR /opt/s2oj_remote_judger
|
|
COPY package*.json ./
|
|
|
|
RUN npm ci
|
|
|
|
COPY . .
|
|
|
|
RUN npm run build
|
|
|
|
ENV LANG=C.UTF-8 TZ="Asia/Shanghai"
|
|
CMD [ "node", "--experimental-specifier-resolution=node", "dist/entrypoint.js" ]
|