Skip to content

Commit

Permalink
Updated dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nmagee committed Mar 12, 2024
1 parent 2523965 commit ccea1b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
# RUN pip install -r requirements.txt
# CMD cd /app && uvicorn main:app --host 0.0.0.0 --port 80

# FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9-alpine3.14-2024-01-22
FROM python3.9-alpine3.14
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9-alpine3.14
COPY ./app /app
COPY requirements.txt requirements.txt
RUN pip install --upgrade pip && pip install -r requirements.txt

0 comments on commit ccea1b6

Please sign in to comment.