Skip to content

Instantly share code, notes, and snippets.

@koji
Last active November 25, 2023 19:43
Show Gist options
  • Save koji/b5f0e09b6e073ee8233657695054147f to your computer and use it in GitHub Desktop.
Save koji/b5f0e09b6e073ee8233657695054147f to your computer and use it in GitHub Desktop.
DockerFile note

remove cache

RUN apt autoremove -y &&\
  apt-get clean &&\
  rm -rf /usr/local/src/*

pip

RUN pip install -U pip &&\
  pip install --no-cache-dir numpy
RUN pip install -r requirements.txt &&\
  rm -rf ~/.cache/pip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment