BTHLABS-49: WIP

This commit is contained in:
2025-08-18 22:14:42 +02:00
parent e34d04589a
commit 6b959bb9ea
2 changed files with 23 additions and 4 deletions

View File

@@ -43,13 +43,15 @@ ARG APP_USER_GID
ARG IMAGE_TAG
ENV HOTPOCKET_BACKEND_IMAGE_TAG=${IMAGE_TAG}
ENV PYTHONPATH="/srv/local"
COPY --from=deployment-build /srv/app /srv/app
COPY --from=deployment-build /srv/packages /srv/packages
COPY --from=deployment-build /srv/venv /srv/venv
COPY --chown=$APP_USER_UID:$APP_USER_GID backend/ops/bin/*.sh /srv/bin/
COPY --chown=$APP_USER_UID:$APP_USER_GID backend/ops/deployment/gunicorn.conf.py backend/ops/deployment/gunicorn.logging.conf /srv/lib/
RUN chown -R $APP_USER_UID:$APP_USER_GID /srv
RUN mkdir /srv/entrypoint.d /srv/local && \
chown -R $APP_USER_UID:$APP_USER_GID /srv
USER root