sshx.stack / Dockerfile
xfasfadgagsg's picture
Update Dockerfile
b9fa4a7 verified
raw
history blame contribute delete
432 Bytes
# Use official Python base image
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Install dependencies: curl + pip requirements
RUN apt-get update && \
apt-get install -y curl && \
rm -rf /var/lib/apt/lists/*
# Copy and install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the app
COPY . .
# Run the application
CMD ["python3", "app.py"]