mirror of
https://github.com/arkorty/DownLink.git
synced 2026-03-18 00:57:15 +00:00
Refactor: change Python3 virtual environment path
This commit is contained in:
@@ -26,14 +26,14 @@ RUN apk add --no-cache \
|
||||
ffmpeg
|
||||
|
||||
# Create a virtual environment for Python
|
||||
RUN python3 -m venv /venv
|
||||
RUN python3 -m venv venv
|
||||
|
||||
# Activate the virtual environment and install yt-dlp
|
||||
RUN /venv/bin/pip install --upgrade pip && \
|
||||
/venv/bin/pip install yt-dlp
|
||||
RUN ./venv/bin/pip install --upgrade pip && \
|
||||
./venv/bin/pip install yt-dlp
|
||||
|
||||
# Ensure ffmpeg is in the PATH
|
||||
ENV PATH="/usr/bin:/venv/bin:${PATH}"
|
||||
ENV PATH="/usr/bin:${PATH}"
|
||||
|
||||
# Expose port 8080 to the outside world
|
||||
EXPOSE 8080
|
||||
|
||||
Reference in New Issue
Block a user