Skip to content

Commit

Permalink
update Dockerfile, to avoid uvloop compile error while pip install...
Browse files Browse the repository at this point in the history
  • Loading branch information
itaru2622 committed Oct 5, 2023
1 parent ed5276f commit c2608dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG base=debian:bullseye
ARG base=python:3-bookworm
FROM ${base}
ARG base

Expand All @@ -14,7 +14,8 @@ RUN if [[ ${base} != python* ]] ; \
apt install -y python3-pip; \
fi

RUN pip3 install install fastapi[standard] uvicorn[standard] requests bs4 Jinja2 q yq pytest pytest-cov httpx
RUN pip3 install -U setuptools pip; \
pip3 install fastapi[standard] uvicorn watchfiles requests bs4 Jinja2 q yq pytest pytest-cov httpx
RUN mkdir -p /app; echo "set mouse-=a" > /root/.vimrc;
COPY ./start.sh /usr/local/bin/start.sh
WORKDIR /app
Expand Down

0 comments on commit c2608dc

Please sign in to comment.