Tweeking section handling
This commit is contained in:
+4
-3
@@ -6,15 +6,16 @@ WORKDIR /root
|
||||
RUN python3 -m ensurepip
|
||||
RUN pip3 install -U pip --no-cache-dir
|
||||
|
||||
COPY app/requirements.txt .
|
||||
RUN pip3 install -r requirements.txt --no-cache-dir
|
||||
|
||||
COPY app /opt/polyphonic
|
||||
WORKDIR /opt/polyphonic
|
||||
|
||||
COPY docker_settings.py polyphonic/local_settings.py
|
||||
|
||||
RUN pip3 install -r requirements.txt --no-cache-dir
|
||||
|
||||
RUN mkdir /var/polyphonic
|
||||
RUN SECRET_KEY=_ python3 manage.py collectstatic --noinput
|
||||
|
||||
ENTRYPOINT ["python3", "manage.py"]
|
||||
CMD ["runserver", "0.0.0.0:8000", "--insecure"]
|
||||
CMD ["runserver", "0.0.0.0:8000", "--insecure"]
|
||||
|
||||
Reference in New Issue
Block a user