Skip to content

Commit 4fd2175

Browse files
committed
revert
1 parent 6b78f39 commit 4fd2175

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
3838
echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache && \
3939
apt-get update && \
4040
apt-get install --yes --no-install-recommends \
41-
build-essential=12.10ubuntu1 \
42-
curl=8.9.1-2ubuntu2.2
41+
build-essential=12.10 \
42+
curl=8.9.1-2
4343

4444
ARG PIP_DISABLE_PIP_VERSION_CHECK=1 \
4545
PIP_NO_CACHE_DIR=0 \

compose.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ services:
99
cache_to:
1010
- type=inline
1111
target: dev
12-
healthcheck:
13-
test: curl -f http://localhost/ || exit 1
1412
ports:
15-
- "127.0.0.1:8000:8000"
13+
- "8000:8000"
1614
volumes:
1715
- .:/opt/app
1816
profiles:
@@ -28,10 +26,8 @@ services:
2826
cache_to:
2927
- type=inline
3028
target: ci
31-
healthcheck:
32-
test: curl -f http://localhost/ || exit 1
3329
ports:
34-
- "127.0.0.1:8000:8000"
30+
- "8000:8000"
3531
profiles:
3632
- ci
3733
app:
@@ -44,9 +40,7 @@ services:
4440
- ghcr.io/yxtay/python-example-app:ci
4541
- ghcr.io/yxtay/python-example-app:main
4642
target: prod
47-
healthcheck:
48-
test: curl -f http://localhost/ || exit 1
4943
ports:
50-
- "127.0.0.1:8000:8000"
44+
- "8000:8000"
5145
profiles:
5246
- prod

0 commit comments

Comments
 (0)