minor parameter changes

This commit is contained in:
2026-04-29 20:35:58 +02:00
parent 7f4d2a0cc0
commit acda7e69c0
4 changed files with 36 additions and 52 deletions
+1 -7
View File
@@ -1,23 +1,17 @@
FROM python:3.11-slim
# Set working directory
WORKDIR /app
# Install system dependencies (optional but common)
RUN apt-get update && apt-get install -y \
bash \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements first (better Docker layer caching)
COPY . .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
# Make sure the startup script is executable
RUN chmod +x start_server.sh
# Use the script as the container entrypoint
ENTRYPOINT ["bash", "./start_server.sh"]