Spaces:
Runtime error
Runtime error
File size: 436 Bytes
5243dae 482315c 5243dae 36080d1 5243dae 36080d1 482315c 5243dae 482315c 5243dae 4ec74b1 5243dae | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | FROM openjdk:11-jdk-slim
# Install Python and Gradio
RUN apt-get update && \
apt-get install -y --no-install-recommends \
python3 python3-pip && \
pip3 install gradio && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Copy project files
COPY . /app
WORKDIR /app
# Run Gradio app
CMD ["python3", "app.py"]
# Set correct permissions for the working directory
RUN mkdir -p /app/flagged && chmod 777 /app/flagged
|