Skip to content

Commit

Permalink
fix: dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Noza23 committed Apr 16, 2024
1 parent 5c11917 commit 10bfa67
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM python:3.9.6

RUN apt-get update

# Set the working directory to /app
WORKDIR /app

RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY ./requirements.txt /app/requirements.txt

COPY . /app
RUN pip install --no-cache-dir -r requirements.txt

EXPOSE 8000
COPY . /app

CMD ["uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "8000"]
CMD ["uvicorn", "backend.main:app", "--host", "0.0.0.0"]

0 comments on commit 10bfa67

Please sign in to comment.