Tweeked deployment (again!)

This commit is contained in:
2026-06-19 14:03:50 +10:00
parent e797876c16
commit 0e69cdeca4
3 changed files with 24 additions and 7 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
FROM alpine:latest
ENV TARGET=/opt/polyphonic
#ENV RELEASE=polyphonic-0.8.4-py3-none-any.whl
ENV RELEASE=git+https://gitea.tfconsulting.com.au/projects/polyphonic.git
ENV RELEASE=polyphonic-0.8.4-py3-none-any.whl
#ENV RELEASE=git+https://gitea.tfconsulting.com.au/projects/polyphonic.git
RUN apk add --no-cache python3 py3-pip git ghostscript sqlite
@@ -11,7 +11,7 @@ WORKDIR /root
RUN python3 -m venv ${TARGET}
ENV PATH="${TARGET}/bin:$PATH"
#COPY dist/${RELEASE} .
COPY dist/${RELEASE} .
RUN pip3 install ${RELEASE} --no-cache-dir
RUN pip3 install gunicorn whitenoise