Files
inventory-app/Dockerfile
Madis Mägi f322ba842c
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Update docker image to jammy
2025-01-20 22:53:20 +02:00

16 lines
428 B
Docker

FROM mirror.gcr.io/library/ubuntu:jammy
RUN apt-get update \
&& apt-get install -y \
curl ca-certificates iputils-ping \
python3-ldap python3-pip python3-ldap \
libjpeg-dev libturbojpeg0-dev \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean
COPY requirements.txt ./
#necessary hack for cffi
RUN pip3 install cffi
RUN pip3 install -r requirements.txt
COPY inventory-app /app
WORKDIR /app
ENTRYPOINT /app/main.py