Spaces:
Runtime error
Runtime error
# Use an NVIDIA CUDA base image with CUDA 11.8 and Ubuntu 20.04 | |
FROM mhamilton723/featup:latest | |
# Set a working directory | |
WORKDIR /app | |
RUN pip3 install gradio | |
# Copy your application files into the container | |
COPY . /app | |
# Expose the port Streamlit will run on | |
EXPOSE 7860 | |
RUN mkdir -m 700 flagged | |
ENV PYTHONUNBUFFERED=1 \ | |
GRADIO_ALLOW_FLAGGING=never \ | |
GRADIO_NUM_PORTS=1 \ | |
GRADIO_SERVER_NAME=0.0.0.0 \ | |
SYSTEM=spaces | |
# Set the command to run your Streamlit app | |
CMD ["python3", "app.py"] | |