You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
386 B
14 lines
386 B
FROM python:3 |
|
|
|
ENV PYTHONUNBUFFERED 1 |
|
|
|
RUN mkdir /django |
|
COPY . /django |
|
WORKDIR /django |
|
RUN mkdir static_thirdparty \ |
|
&& wget https://code.jquery.com/jquery-3.4.1.min.js \ |
|
&& wget https://github.com/twbs/bootstrap/releases/download/v3.4.1/bootstrap-3.4.1-dist.zip \ |
|
&& unzip bootstrap-3.4.1-dist.zip \ |
|
&& rm bootstrap-3.4.1-dist.zip |
|
|
|
RUN pip install -r requirements.txt
|
|
|