Postwriter / Dockerfile
jsemrau's picture
change to docker
222c9d6
# Use a base Python image
FROM python:3.11
# Set the working directory inside the container
WORKDIR /app
# Copy the requirements file and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy your application code
COPY . .
# Expose the port Gradio runs on
EXPOSE 7860
# Command to run your app
CMD ["python3.11", "app.py"]