Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Dockerfile for local dev/testing #23

Open
chuckwondo opened this issue Nov 1, 2022 · 0 comments
Open

Create Dockerfile for local dev/testing #23

chuckwondo opened this issue Nov 1, 2022 · 0 comments

Comments

@chuckwondo
Copy link
Collaborator

Given that we have had difficulties with pinning specific Python dependencies that play nicely together in DPS, creating a Dockerfile based on the same Docker image that is specified in our algorithm_config.yaml file should help us identify and correct such problems early, prior to any attempt to register our algorithm, let alone attempt to run a job with it.

A relatively simple Dockerfile should suffice, and should likely need only to do the following:

  • Use a FROM statement that specifies the same Docker image as specified in algorithm_config.yaml
  • COPY the minimal set of files necessary to allow a subsequent RUN ./build.sh --dev to succeed

This can also serve as basis for later creating a devcontainer for use within VS Code, as well as for setting up a GitHub Action for running automated tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant