Skip to content

Commit

Permalink
fix: entrypoint.sh in Docker build (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe authored Sep 29, 2023
1 parent 0ed6e19 commit 81bfd43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion utils/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ ARG version_file=utils/docker/empty-file-dont-remove
ENV REEV_SERVE_FRONTEND=/home/reev/ui

COPY --from=backend-deps /.venv /.venv
COPY --chmod=a+rx utils/docker/entrypoint.sh /entrypoint.sh
COPY utils/docker/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

ENV PATH="/.venv/bin:$PATH"

Expand Down
2 changes: 1 addition & 1 deletion utils/docker/entrypoint.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ set -euo pipefail
HTTP_HOST=${HTTP_HOST-0.0.0.0}
HTTP_PORT=${HTTP_PORT-8080}

bash -x /home/reev/backend_pre_start.sh
python /home/reev/app/backend_pre_start.py

uvicorn app.main:app --host $HTTP_HOST --port $HTTP_PORT

0 comments on commit 81bfd43

Please sign in to comment.