check / Dockerfile
Joe6636564's picture
Update Dockerfile
a86d293 verified
raw
history blame contribute delete
247 Bytes
FROM python:3.11-slim
WORKDIR /app
# Copy and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy app files
COPY . .
# Expose Flask port
EXPOSE 5000
# Start Flask app
CMD ["python", "app.py"]