change Dockerfile to use python alpine img
All checks were successful
Garfbot CI/CD Deployment / Deploy (push) Successful in 1m3s
All checks were successful
Garfbot CI/CD Deployment / Deploy (push) Successful in 1m3s
This commit is contained in:
40
Dockerfile
40
Dockerfile
@ -1,19 +1,29 @@
|
|||||||
FROM python:3.11.10-bookworm
|
FROM python:3.11.10-alpine
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
RUN apt update
|
RUN apk update && \
|
||||||
RUN apt install -y iputils-ping
|
apk add --no-cache \
|
||||||
RUN apt install -y dnsutils
|
iputils \
|
||||||
RUN apt install -y nmap
|
bind-tools \
|
||||||
RUN apt install -y python3
|
nmap \
|
||||||
RUN apt install -y python3-pip
|
gcc \
|
||||||
RUN pip3 install discord
|
musl-dev \
|
||||||
RUN pip3 install openai
|
jpeg-dev \
|
||||||
RUN pip3 install aiohttp
|
zlib-dev \
|
||||||
RUN pip3 install requests
|
freetype-dev \
|
||||||
RUN pip3 install wikipedia
|
lcms2-dev \
|
||||||
RUN pip3 install pillow
|
openjpeg-dev \
|
||||||
RUN pip3 install qrcode
|
tiff-dev \
|
||||||
|
tk-dev \
|
||||||
|
tcl-dev
|
||||||
|
|
||||||
|
RUN pip3 install --no-cache-dir \
|
||||||
|
discord \
|
||||||
|
openai \
|
||||||
|
aiohttp \
|
||||||
|
requests \
|
||||||
|
wikipedia \
|
||||||
|
pillow \
|
||||||
|
qrcode
|
||||||
|
|
||||||
CMD [ "python", "garfmain.py" ]
|
CMD [ "python", "garfmain.py" ]
|
Reference in New Issue
Block a user