mirror of
https://github.com/tebarius/Docker-Flask-QR.git
synced 2025-12-20 22:23:30 +01:00
auf python-slim umgestellt
This commit is contained in:
19
Dockerfile
19
Dockerfile
@@ -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"]
|
||||
Reference in New Issue
Block a user