Skip to content

Commit

Permalink
chore: add env var
Browse files Browse the repository at this point in the history
  • Loading branch information
montoyaobeso committed Jun 6, 2024
1 parent ab600f7 commit 2dd737a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/Dockerfile.api
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt

COPY ./src /code/src

ENV POSTGRES_HOST=host.docker.internal

CMD ["uvicorn", "src.api.main:app", "--host", "0.0.0.0", "--port", "80"]

0 comments on commit 2dd737a

Please sign in to comment.