Modify PYTHONPATH
This commit is contained in:
+2
-2
@@ -12,13 +12,13 @@ ENV PATH="${TARGET}/bin:$PATH"
|
||||
|
||||
COPY dist/${RELEASE} .
|
||||
RUN pip3 install ${RELEASE} --no-cache-dir
|
||||
RUN pip3 install gunicorn whitenoise
|
||||
|
||||
WORKDIR ${TARGET}
|
||||
|
||||
RUN SECRET_KEY=_ poly-tool collectstatic --noinput
|
||||
|
||||
VOLUME ["/var/polyphonic"]
|
||||
|
||||
RUN pip3 install gunicorn whitenoise
|
||||
EXPOSE 8000/tcp
|
||||
|
||||
CMD ["gunicorn", "-b", "0.0.0.0", "polyphonic.wsgi"]
|
||||
|
||||
Reference in New Issue
Block a user