You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that the project doesn't currently have a Dockerfile, so I've taken the initiative to create one. Dockerizing the project provides a consistent environment for both development and deployment, making it easier for contributors to get started and maintain the quality of the project.
What I've Done:
Created a Dockerfile to build and run the project
Tested it locally to ensure that it works as expected
How to Test the Docker Setup:
Build the Docker image: docker build -t [image-name] .
Run the Docker container: docker run [options] [image-name]
Run the splade.all: /opt/conda/envs/splade/bin/python -m splade.all config.checkpoint_dir=experiments/debug/checkpoint config.index_dir=experiments/debug/index config.out_dir=experiments/debug/out
Dockerfile
FROM continuumio/anaconda3:2022.05
RUN git clone https://github.com/naver/splade.git && cd splade
WORKDIR /splade
RUN conda create -n splade_env python=3.9
RUN conda env create -f conda_splade_env.yml
Placement of the Dockerfile:
I've placed the Dockerfile in the project root directory for now, but I'm open to suggestions if there's a more appropriate directory for it.
I would appreciate your feedback on this addition. If it aligns with the project's goals and you find it beneficial, I would be happy to submit a Pull Request.
Thank you for considering my proposal.
The text was updated successfully, but these errors were encountered:
Hello maintainers and community,
I've noticed that the project doesn't currently have a Dockerfile, so I've taken the initiative to create one. Dockerizing the project provides a consistent environment for both development and deployment, making it easier for contributors to get started and maintain the quality of the project.
What I've Done:
Created a Dockerfile to build and run the project
Tested it locally to ensure that it works as expected
How to Test the Docker Setup:
Build the Docker image: docker build -t [image-name] .
Run the Docker container: docker run [options] [image-name]
Run the splade.all: /opt/conda/envs/splade/bin/python -m splade.all config.checkpoint_dir=experiments/debug/checkpoint config.index_dir=experiments/debug/index config.out_dir=experiments/debug/out
Dockerfile
Placement of the Dockerfile:
I've placed the Dockerfile in the project root directory for now, but I'm open to suggestions if there's a more appropriate directory for it.
I would appreciate your feedback on this addition. If it aligns with the project's goals and you find it beneficial, I would be happy to submit a Pull Request.
Thank you for considering my proposal.
The text was updated successfully, but these errors were encountered: