auf python-slim umgestellt

This commit is contained in:
2023-11-01 16:53:41 +01:00
parent c2504f2519
commit 3734fa2277
10 changed files with 164 additions and 19 deletions

View File

@@ -1,4 +1,17 @@
FROM ubuntu:latest
LABEL authors="tebarius"
FROM python:slim
ENTRYPOINT ["top", "-b"]
LABEL authors="tebarius"
LABEL version="1.0"
LABEL description="Simple QR-Code-Generator-Server"
WORKDIR /app
RUN mkdir templates
COPY ./templates /app/templates/
COPY ./Flask-QR.py ./requirements.txt /app/
#RUN pip install --upgrade pip
RUN pip install --trusted-host pypi.python.org -r requirements.txt
EXPOSE 80
CMD ["python", "Flask-QR.py"]