consertos flask

This commit is contained in:
2023-09-21 17:57:47 -03:00
parent 1f63985364
commit 125b456743
4 changed files with 11 additions and 64 deletions

View File

@@ -6,8 +6,6 @@ ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY . .
RUN apt-get update && apt-get install -y imagemagick && apt-get install -y wget && ls
RUN wget https://files.ivanch.me/api/public/dl/iFuXSNhw/small-image.png && \
@@ -19,6 +17,8 @@ RUN wget https://files.ivanch.me/api/public/dl/iFuXSNhw/small-image.png && \
mv big-image.png ./static && \
mv video.mp4 ./static
COPY . .
RUN --mount=type=cache,target=/root/.cache/pip \
--mount=type=bind,source=requirements.txt,target=requirements.txt \
python -m pip install -r requirements.txt