-
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.
Updated dockerfile for better syntax (#117)
- Loading branch information
1 parent
33adb9e
commit 45b1ae2
Showing
1 changed file
with
3 additions
and
3 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,7 +1,7 @@ | ||
FROM ghcr.io/ecoextreml/stemmus_scope:1.6.1 | ||
|
||
LABEL maintainer="Bart Schilperoort <[email protected]>" | ||
LABEL org.opencontainers.image.source = "https://github.com/EcoExtreML/STEMMUS_SCOPE_Processing" | ||
LABEL org.opencontainers.image.source="https://github.com/EcoExtreML/STEMMUS_SCOPE_Processing" | ||
|
||
# Requirements for building Python 3.10 | ||
RUN apt-get update && apt-get -y upgrade | ||
|
@@ -26,8 +26,8 @@ RUN pip3.10 install grpc4bmi==0.5.0 | |
|
||
# # Set the STEMMUS_SCOPE environmental variable, so the BMI can find the executable | ||
WORKDIR / | ||
ENV STEMMUS_SCOPE /STEMMUS_SCOPE | ||
ENV STEMMUS_SCOPE=/STEMMUS_SCOPE | ||
|
||
EXPOSE 55555 | ||
# Start grpc4bmi server | ||
CMD run-bmi-server --name "PyStemmusScope.bmi.implementation.StemmusScopeBmi" --port 55555 --debug | ||
CMD ["run-bmi-server", "--name", "PyStemmusScope.bmi.implementation.StemmusScopeBmi", "--port", "55555", "--debug"] |