Skip to content

Instantly share code, notes, and snippets.

@noahgift
Created October 6, 2022 22:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noahgift/82a34d56f0a8f347865baaa685d5e98d to your computer and use it in GitHub Desktop.
Save noahgift/82a34d56f0a8f347865baaa685d5e98d to your computer and use it in GitHub Desktop.
USER root
RUN apt update \
&& apt install python3-pip -y && apt install python3-venv -y
USER coder
ENV VIRTUAL_ENV=/home/coder/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir black==22.3.0 click==8.1.3 pytest==7.1.3 \
pytest-cov==4.0.0 \
pylint==2.15.3 \
boto3==1.24.87 \
fastapi==0.85.0 \
uvicorn==0.18.3 \
jupyter==1.0.0 \
pandas==1.5.0 \
numpy==1.23.3 \
scikit-learn==1.1.2 \
matplotlib==3.6.0 \
seaborn==0.12.0 \
dask==2022.9.2 \
geopy==2.2.0 \
gradio==3.4.1 \
streamlit==1.13.0 \
protobuf==3.16.0 \
onnx==1.12.0 \
mlflow==1.29.0 \
databricks==0.2 \
databricks-cli==0.17.3 \
databricks-sql-connector==2.1.0 \
transformers==4.22.2 \
datasets==2.5.2 \
tokenizers==0.12.1 \
torch==1.12.1 \
torchvision==0.13.1 \
tensorflow==2.10.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment