Skip to content

Instantly share code, notes, and snippets.

@Tob-iee
Created September 13, 2023 14:31
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 Tob-iee/3504b19daaa70430145384e82db7f275 to your computer and use it in GitHub Desktop.
Save Tob-iee/3504b19daaa70430145384e82db7f275 to your computer and use it in GitHub Desktop.
Make a custom Docker image structure with a Dockerfile.
FROM picsellia/cuda:11.7.1-cudnn8-ubuntu20.04
COPY ./requirements.txt .
ARG REBUILD_ALL
RUN python3.10 -m pip install -r requirements.txt --no-cache-dir
ARG REBUILD_PICSELLIA
RUN python3.10 -m pip install picsellia --upgrade
WORKDIR /picsellia
COPY . ./
ENTRYPOINT ["run", "train.py"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment