Skip to content

Commit cea15e5

Browse files
committed
fix: trying to reduce docker image size further
1 parent 20351c9 commit cea15e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ WORKDIR /app
99
COPY . .
1010

1111
RUN apk update \
12-
&& apk add --no-cache cronie firefox \
13-
&& python -m pip install beautifulsoup4 requests python-telegram-bot selenium \
12+
&& apk add --no-cache cronie firefox-esr \
13+
&& python -m pip install --no-cache-dir beautifulsoup4 requests python-telegram-bot selenium \
1414
&& mkdir -p /app/app/db/data
1515

1616
RUN echo "0 */4 * * * . /etc/environment; cd /app && /usr/local/bin/python main.py >> /tmp/pricelog.txt 2>&1" | crontab -

0 commit comments

Comments
 (0)