Skip to content

Commit

Permalink
Merge pull request #77 from FASoftwareEngineering/dev-georgiydemo-fix…
Browse files Browse the repository at this point in the history
…-dockerfile

Dockerfile build fixed
  • Loading branch information
GeorgiyDemo authored Dec 24, 2022
2 parents 5c7f46e + 7ccc301 commit c90b945
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apk update \
RUN pip install --upgrade pip
COPY . .

RUN apk add --no-cache libressl-dev musl-dev libffi-dev gcc
RUN apk add --no-cache musl-dev libffi-dev gcc
COPY ./requirements.txt .
RUN pip wheel --no-cache-dir --no-deps --wheel-dir /usr/src/app/wheels -r requirements.txt

Expand All @@ -38,4 +38,4 @@ RUN chown -R app:app $APP_HOME

USER app

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

0 comments on commit c90b945

Please sign in to comment.