Compare commits

...

2 Commits

Author SHA1 Message Date
Jakub Sokołowski 23570ce8b5
add procps for easier debugging
Adds utilities like ps, pgrep, or free.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-16 13:14:11 +01:00
Jakub Sokołowski eba2f02795
reduce image size by using apt-get clean
Before:
```
REPOSITORY         TAG       IMAGE ID       CREATED         SIZE
sartography/node   latest    c9fde62c078f   8 seconds ago   649MB
```
After:
```
REPOSITORY         TAG       IMAGE ID       CREATED         SIZE
sartography/node   latest    ca14374b7d77   7 seconds ago   630MB
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-16 13:09:55 +01:00
1 changed files with 13 additions and 12 deletions

View File

@ -3,16 +3,17 @@ FROM python:3.11.6-slim
WORKDIR /app
# pulled out:
# python3-dev \
# postgresql-client \
# python3-dev
# postgresql-client
RUN set -xe \
&& pip install pipenv==2023.10.3 poetry==1.6.1 \
&& apt-get update -q \
&& apt-get install -y -q \
gcc \
libssl-dev \
curl \
git-core \
gunicorn3
WORKDIR /app
&& pip install pipenv==2023.10.3 poetry==1.6.1 \
&& apt-get update -q \
&& apt-get install -y -q \
gcc \
libssl-dev \
curl \
git-core \
gunicorn3 \
procps \
&& rm -rf /var/lib/apt/lists/* \
/var/cache/apt/archives