Skip to content

Commit fcd3af8

Browse files
committed
Refactor Dockerfile.prod and update entrypoint command
1 parent 99a3907 commit fcd3af8

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

Dockerfile.prod

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,10 @@ RUN apt-get update \
88

99
COPY requirements.txt ./
1010

11-
COPY entrypoint-heroku.sh /
12-
RUN chmod +x /entrypoint-heroku.sh
13-
1411
RUN pip install -r requirements.txt
1512

1613
EXPOSE 8080
1714

1815
COPY app/ ./
1916

20-
CMD ["/entrypoint-heroku.sh"]
17+
CMD ["sh", "-c", "uvicorn main:app --reload --host 0.0.0.0 --port 8080"]

entrypoint-heroku.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)