Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hutanmihai committed Apr 24, 2024
1 parent 6f40f67 commit 5c0bc49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ RUN pip3 install -r requirements.txt
RUN rm requirements.txt

COPY ./src ./src
COPY ./alembic.ini ./alembic.ini
COPY ./alembic ./alembic

WORKDIR /app/src
RUN alembic upgrade head

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

0 comments on commit 5c0bc49

Please sign in to comment.