-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (22 loc) · 764 Bytes
/
Dockerfile
File metadata and controls
28 lines (22 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM pytorch/pytorch:2.3.1-cuda11.8-cudnn8-runtime
LABEL authors="Colby T. Ford <[email protected]>"
## Install system requirements
RUN apt update && \
apt-get install -y --reinstall \
ca-certificates && \
apt install -y \
git \
wget \
gcc \
g++
## Set working directory
RUN mkdir -p /software/plapt
WORKDIR /software/plapt
## Clone project
RUN git clone https://github.com/Bindwell/PLAPT /software/plapt
## Create Conda Environment
RUN conda env create -f /software/plapt/environment.yml
## Automatically activate conda environment
RUN echo "source activate plapt" >> /etc/profile.d/conda.sh && \
echo "source /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \
echo "conda activate plapt" >> ~/.bashrc