This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
FROM python:3-slim-trixie
|
FROM python:3-slim-trixie
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
locales && \
|
locales && \
|
||||||
@@ -7,8 +8,11 @@ RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
|
|||||||
sed -i -e 's/# de_DE.UTF-8 UTF-8/de_DE.UTF-8 UTF-8/' /etc/locale.gen && \
|
sed -i -e 's/# de_DE.UTF-8 UTF-8/de_DE.UTF-8 UTF-8/' /etc/locale.gen && \
|
||||||
dpkg-reconfigure --frontend=noninteractive locales
|
dpkg-reconfigure --frontend=noninteractive locales
|
||||||
|
|
||||||
COPY * /app/
|
WORKDIR /app
|
||||||
|
|
||||||
COPY requirements.txt requirements.txt
|
COPY requirements.txt requirements.txt
|
||||||
RUN pip3 install -r requirements.txt
|
RUN pip3 install -r requirements.txt
|
||||||
|
COPY * /app/
|
||||||
|
|
||||||
|
|
||||||
CMD ["python3", "-m", "flask", "run", "--host=0.0.0.0"]
|
CMD ["python3", "-m", "flask", "run", "--host=0.0.0.0"]
|
||||||
|
|||||||
Reference in New Issue
Block a user