firs scratches

This commit is contained in:
architect.in.git
2025-03-17 21:43:30 -06:00
parent 9b57c5631d
commit 943ca73e34
9 changed files with 72 additions and 225 deletions

View File

@@ -7,6 +7,8 @@ WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
gosu \
redis-server \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
@@ -22,5 +24,11 @@ COPY . .
# Create necessary directories
RUN mkdir -p downloads config creds
# Default command (overridden in docker-compose.yml)
CMD ["python", "app.py"]
# Make entrypoint script executable
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 []