|
|
@ -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"]
|
|
|
|