Created
January 15, 2023 13:25
-
-
Save jmoz/d24561f0620ba96e35b1e666f571b2ca to your computer and use it in GitHub Desktop.
Minimal Python 3.11-slim Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.11-slim | |
ENV PYTHONUNBUFFERED=1 | |
RUN mkdir /code | |
WORKDIR /code | |
COPY requirements.txt . | |
RUN apt-get update && apt-get -y install git libxml2-dev libxslt-dev gcc zlib1g-dev | |
RUN pip3 install --upgrade pip setuptools wheel | |
RUN pip3 install --no-cache-dir -r requirements.txt | |
COPY . . | |
CMD python sbt.py --help |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment