Modify PYTHONPATH

This commit is contained in:
2026-05-23 21:46:51 +10:00
parent 947626c2af
commit eeb35ce4f6
2 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -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"]