Code-agent-v1 / Dockerfile
nakas's picture
Update Dockerfile
651dee2 verified
raw
history blame
341 Bytes
FROM jupyter/minimal-notebook:python-3.9
USER root
# Install Gradio
RUN pip install --no-cache-dir gradio
# Copy application files
COPY app.py /home/jovyan/
COPY welcome.ipynb /home/jovyan/
# Switch back to non-root user
USER jovyan
# Expose the port Hugging Face expects
EXPOSE 7860
# Run the app
CMD ["python", "/home/jovyan/app.py"]