-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from milicazmarkovic/feat/docker-compose-up-run…
…-correct Added docker support for running the script
- Loading branch information
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM mambaorg/micromamba:1.4.7 | ||
|
||
USER root | ||
# Keep the base environment activated | ||
ARG MAMBA_DOCKERFILE_ACTIVATE=1 | ||
RUN apt update && apt -y install git gcc g++ make | ||
|
||
# Use micromamba to resolve conda-forge, much faster than conda | ||
RUN micromamba install -y python=3.8.17 pip=23.2.1 rdkit=2020.09.5 -c conda-forge | ||
RUN micromamba install -y numpy pandas joblib tqdm -c conda-forge | ||
RUN micromamba install -y rdchiral_cpp=1.1.2 -c conda-forge | ||
|
||
WORKDIR /app | ||
|
||
COPY . /app |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
services: | ||
correct-templates: | ||
image: templatecorr:latest | ||
command: [ | ||
"python", "correct.py", "--path", "data/uspto_50k"] | ||
volumes: | ||
- ./data:/app/data |