File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1- FROM python :3.12-alpine
1+ FROM pypy :3.11-bookworm
22
33WORKDIR /usr/src/app
44
55COPY requirements.txt .
66RUN pip install -r requirements.txt --no-cache-dir
77COPY . .
88
9- CMD ["python " , "-u" , "src/main.py" ]
9+ CMD ["pypy3 " , "-u" , "src/main.py" ]
Original file line number Diff line number Diff line change 1- FROM python :3.12-alpine
1+ FROM pypy :3.11-bookworm
22
33WORKDIR /usr/src/app
44
5- RUN pip install watchdog
5+ RUN apk add libpq-dev gcc libc-dev
6+
67COPY requirements.txt .
7- RUN pip install -r requirements.txt --no-cache-dir
8+ RUN pip install -r requirements.txt
9+ RUN pip install watchdog[watchmedo]
810
911CMD watchmedo auto-restart --patterns="*.py" --recursive --interval 5 -- python -u src/main.py
Original file line number Diff line number Diff line change 1- FROM python :3.12-alpine
1+ FROM pypy :3.11-bookworm
22
33WORKDIR /usr/src/app
44
You can’t perform that action at this time.
0 commit comments