node / Dockerfile
kamiwork's picture
Update Dockerfile
5a83d46 verified
# Base image
FROM python:3.12-slim
# Set working directory
WORKDIR /app
# Install dependencies
RUN pip install --no-cache-dir requests gradio
# Copy app
COPY app.py /app/app.py
# Expose port 7860
EXPOSE 7860
# Run the app
CMD ["python", "app.py"]