Templates included. Closes #6

trunk
HeNine 3 years ago
parent 2125f9d263
commit e6325b31c8

@ -13,6 +13,7 @@ RUN pip install /tmp/common && rm -r /tmp/common
# Install actual application # Install actual application
RUN apk add postgresql-dev postgresql-libs RUN apk add postgresql-dev postgresql-libs
COPY buscribe-api /tmp/buscribe-api COPY buscribe-api /tmp/buscribe-api
RUN pip install /tmp/buscribe-api && rm -r /tmp/buscribe-api RUN pip install /tmp/buscribe-api && cp -r /tmp/buscribe-api/templates /templates \
&& rm -r /tmp/buscribe-api
ENTRYPOINT ["python3", "-m", "buscribeapi", "--base-dir", "/mnt"] ENTRYPOINT ["python3", "-m", "buscribeapi", "--base-dir", "/mnt"]

Loading…
Cancel
Save