Created
May 19, 2021 00:47
-
-
Save ashleve/29b436eff1bcc1041de019dd8415ffc9 to your computer and use it in GitHub Desktop.
Dockerfile for lightning-hydra-template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Build commands: | |
# docker build -t project_name . | |
# docker run --gpus all -it --rm project_name | |
# Build from official Nvidia PyTorch image | |
# GPU-ready with built in Apex mixed-precision support | |
# https://ngc.nvidia.com/catalog/containers/nvidia:pytorch | |
FROM nvcr.io/nvidia/pytorch:21.04-py3 | |
# Copy all files | |
COPY . workspace/ | |
# Install requirements | |
RUN pip install -r requirements.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment