PyInventory/deployment/Dockerfile

19 wiersze
426 B
Docker
Czysty Zwykły widok Historia

2020-10-26 17:00:02 +00:00
FROM python:3.9-slim-buster
# https://hub.docker.com/_/python
# Install deps
RUN apt-get update \
&& apt-mark auto $(apt-mark showinstall) \
&& apt-get install -y postgresql-client-11 python3-pip \
&& apt autoremove \
&& apt -y full-upgrade \
&& rm -rf /var/lib/apt \
2020-11-13 08:26:58 +00:00
&& python3 -m pip install -U pip \
&& pip install -U psycopg2-binary
2020-10-26 17:00:02 +00:00
WORKDIR /inventory
2020-11-14 11:17:38 +00:00
RUN pip install "pyinventory>=0.5.0"
2020-10-26 17:00:02 +00:00