Skip to content

Commit 437bfff

Browse files
committed
Use less specific pypy tag
1 parent a1090bd commit 437bfff

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM pypy:3.11-bookworm
1+
FROM pypy:3
22

33
WORKDIR /usr/src/app
44

Dockerfile.dev

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
FROM pypy:3.11-bookworm
1+
FROM pypy:3
22

33
WORKDIR /usr/src/app
44

5-
RUN apk add libpq-dev gcc libc-dev
6-
75
COPY requirements.txt .
8-
RUN pip install -r requirements.txt
9-
RUN pip install watchdog[watchmedo]
6+
RUN pip install -r requirements.txt --no-cache-dir
7+
RUN pip install watchdog[watchmedo] --no-cache-dir
108

11-
CMD watchmedo auto-restart --patterns="*.py" --recursive --interval 5 -- python -u src/main.py
9+
CMD watchmedo auto-restart --patterns="*.py" --recursive --interval 5 -- pypy -u src/main.py

Dockerfile.lint

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
FROM pypy:3.11-bookworm
1+
FROM pypy:3
22

33
WORKDIR /usr/src/app
44

5+
RUN pip install flake8 --no-cache-dir
56
COPY requirements.txt .
6-
RUN pip install -r requirements.txt --no-cache-dir && pip install flake8
7+
RUN pip install -r requirements.txt --no-cache-dir
78
COPY . .
89

910
CMD ["python", "-m", "flake8", "./src"]

0 commit comments

Comments
 (0)