Skip to content

Instantly share code, notes, and snippets.

FROM python:3.8
WORKDIR /app
RUN pip install --no-cache-dir jupyter transformers torch
# Jupyter
CMD ["jupyter", "notebook", "--ip=0.0.0.0", "--allow-root", "--NotebookApp.token=''", "--NotebookApp.password=''", "--no-browser", "--port=8888"]