Fork to yt-mp3-ui
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
84a8e0faa7
commit
9c6360e9c4
10 changed files with 243 additions and 288 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.14.3-slim
|
||||
FROM python:3.14-slim
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||
PYTHONUNBUFFERED=1
|
||||
|
|
@ -29,11 +29,14 @@ COPY yt-dlp.conf /home/appuser/.config/yt-dlp/config
|
|||
|
||||
# Copy app
|
||||
COPY web /app/web
|
||||
COPY entrypoint.sh /app/entrypoint.sh
|
||||
|
||||
RUN chown -R appuser:appuser /app/web/backend/downloads /home/appuser/.config/yt-dlp
|
||||
RUN chmod +x /app/entrypoint.sh \
|
||||
&& chown -R appuser:appuser /app/web/backend/downloads /home/appuser/.config/yt-dlp
|
||||
|
||||
USER appuser
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
ENTRYPOINT ["/app/entrypoint.sh"]
|
||||
CMD ["python", "-m", "uvicorn", "web.backend.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue