-
Notifications
You must be signed in to change notification settings - Fork 1
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 #1 from MaastrichtU-CDS/feature/v4support
Feature/v4support
- Loading branch information
Showing
5 changed files
with
405 additions
and
233 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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# Basic python3 image as base | ||
FROM harbor2.vantage6.ai/infrastructure/algorithm-base:3.4.2 | ||
FROM harbor2.vantage6.ai/infrastructure/algorithm-base:4.2 | ||
|
||
# Change this to the package name of your project. This needs to be the same | ||
# as what you specified for the name in the `setup.py`. | ||
ARG PKG_NAME="v6-logistic-regression-py" | ||
|
||
# Package name | ||
ARG PKG_NAME="v6_logistic_regression_py" | ||
|
||
# Install federated algorithm | ||
# This will install your algorithm into this image. | ||
COPY . /app | ||
RUN pip install /app | ||
|
||
# Tell docker to execute `docker_wrapper()` when the image is run. | ||
# This will run your algorithm when the Docker container is started. | ||
ENV PKG_NAME=${PKG_NAME} | ||
CMD python -c "from vantage6.tools.docker_wrapper import docker_wrapper; docker_wrapper('${PKG_NAME}')" | ||
CMD python -c "from vantage6.algorithm.tools.wrap import wrap_algorithm; wrap_algorithm()" |
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
Oops, something went wrong.