File size: 355 Bytes
df8330d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
FROM python:3.9-slim
WORKDIR /app
# Minimal requirements
RUN pip install --upgrade pip flask docker requests ipython jupyter-client ipykernel
RUN ipython kernel install --name "python3" --user
# Extra requirements
RUN pip install pandas scikit-learn matplotlib seaborn
COPY jupyter_kernel.py .
EXPOSE 5000
ENTRYPOINT ["python", "jupyter_kernel.py"]
|