mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-01-01 10:02:01 +00:00
11 lines
218 B
Docker
11 lines
218 B
Docker
FROM python:2.7
|
|
ENV PYTHONUNBUFFERED 1
|
|
ENV oj_env daocloud
|
|
RUN mkdir /var/oj
|
|
COPY . /var/oj/
|
|
WORKDIR /var/oj/
|
|
RUN pip install -r requirements.txt
|
|
EXPOSE 8080
|
|
RUN mkdir LOG
|
|
CMD bash -c "python manage.py runserver 8080"
|