mirror of
https://lavaforge.org/spotizerr/spotizerr.git
synced 2025-12-24 02:39:14 -05:00
fixed docker ffmpeg
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -8,7 +8,9 @@ WORKDIR /app
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
gosu \
|
||||
git \
|
||||
redis-server \
|
||||
ffmpeg \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
@@ -21,8 +23,9 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
# Copy application code
|
||||
COPY . .
|
||||
|
||||
# Create necessary directories
|
||||
RUN mkdir -p downloads config creds
|
||||
# Create necessary directories with proper permissions
|
||||
RUN mkdir -p downloads config creds logs && \
|
||||
chmod 777 downloads config creds logs
|
||||
|
||||
# Make entrypoint script executable
|
||||
RUN chmod +x entrypoint.sh
|
||||
@@ -30,5 +33,4 @@ RUN chmod +x entrypoint.sh
|
||||
# Set entrypoint to our script
|
||||
ENTRYPOINT ["/app/entrypoint.sh"]
|
||||
|
||||
# Default command (empty as entrypoint will handle the default behavior)
|
||||
CMD []
|
||||
# No CMD needed as entrypoint.sh handles application startup
|
||||
|
||||
Reference in New Issue
Block a user