consertos flask
This commit is contained in:
1 parent
1f63985364
commit
125b456743
4 files changed
+11
-64
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user