Skip to content

Instantly share code, notes, and snippets.

@hrdmtr
Created February 15, 2024 20:53
Show Gist options
  • Save hrdmtr/7c621b90de40dc4cfc1b91ffe31f50d0 to your computer and use it in GitHub Desktop.
Save hrdmtr/7c621b90de40dc4cfc1b91ffe31f50d0 to your computer and use it in GitHub Desktop.
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"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment