测试 docker 运行
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM python:2.7
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
EVN oj_env daocloud
|
||||
RUN mkdir /var/oj
|
||||
COPY . /var/oj/
|
||||
WORKDIR /var/oj/
|
||||
RUN pip install -r requirements.txt
|
||||
EXPOSE: 8080
|
||||
RUN python manage,py runserver 8080
|
||||
Reference in New Issue
Block a user