Skip to content

Commit

Permalink
Update cpu.Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ironcladgeek authored Mar 20, 2023
1 parent b5d1247 commit 4fa210d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/cpu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*

FROM build1 AS build2
COPY requirements.txt /tmp/requirements.txt
COPY ./src/backend/requirements.txt /tmp/requirements.txt
RUN pip install \
--no-cache-dir \
--user \
Expand All @@ -28,7 +28,7 @@ ENV PATH=/root/.local/bin:$PATH
ENV APP_ENV docker
ENV PYTHONUNBUFFERED 1
WORKDIR /code
COPY app /code/app
COPY ./src/backend/app /code/app

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

0 comments on commit 4fa210d

Please sign in to comment.