add: dockerfile uploads symlink

This commit is contained in:
2023-06-11 01:08:28 +02:00
parent 8a57767fee
commit 1fe5afa8a2

View File

@@ -15,6 +15,8 @@ RUN python3 -m pip install waitress
COPY req.txt . COPY req.txt .
RUN python3 -m pip install --no-cache-dir -r req.txt RUN python3 -m pip install --no-cache-dir -r req.txt
RUN ln -s /app/uploads/ /app/static/uploads
EXPOSE 5000/tcp EXPOSE 5000/tcp
ENTRYPOINT ["waitress-serve"] ENTRYPOINT ["waitress-serve"]