microservices/uploader-service/uploads/542119a2-f342-407a-80de-0d9d4f225a4c/Dockerfile

18 lines
345 B
Text
Raw Permalink Normal View History

2025-04-14 16:41:51 -07:00
# Use an official Python base image
FROM python:3.11
# Set the working directory
WORKDIR /app
# Install Jupyter
RUN pip install --no-cache-dir jupyter
# Copy the notebook file into the container
COPY notebook.ipynb /app/
# Expose port 8000
EXPOSE 8000
# Command to execute the notebook directly
CMD ["jupyter", "execute", "notebook.ipynb"]