executor / jupyter /Dockerfile
leandro
initial commit
df8330d
raw
history blame
355 Bytes
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"]