mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-22 13:41:52 +00:00
13 lines
165 B
Docker
13 lines
165 B
Docker
FROM node:18
|
|
|
|
WORKDIR /opt/s2oj_remote_judger
|
|
COPY package*.json ./
|
|
|
|
RUN npm ci --only=production
|
|
|
|
COPY . .
|
|
|
|
RUN npm run build
|
|
|
|
CMD [ "node", "dist/entrypoint.js" ]
|