From 1fe5afa8a249b781bbd7abf42231075656653610 Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Sun, 11 Jun 2023 01:08:28 +0200 Subject: [PATCH] add: dockerfile uploads symlink --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index fc29f54..49fa8a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,8 @@ RUN python3 -m pip install waitress COPY req.txt . RUN python3 -m pip install --no-cache-dir -r req.txt +RUN ln -s /app/uploads/ /app/static/uploads + EXPOSE 5000/tcp ENTRYPOINT ["waitress-serve"]