Skip to content

Commit 45b1ae2

Browse files
Updated dockerfile for better syntax (#117)
1 parent 33adb9e commit 45b1ae2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM ghcr.io/ecoextreml/stemmus_scope:1.6.1
22

33
LABEL maintainer="Bart Schilperoort <b.schilperoort@esciencecenter.nl>"
4-
LABEL org.opencontainers.image.source = "https://github.com/EcoExtreML/STEMMUS_SCOPE_Processing"
4+
LABEL org.opencontainers.image.source="https://github.com/EcoExtreML/STEMMUS_SCOPE_Processing"
55

66
# Requirements for building Python 3.10
77
RUN apt-get update && apt-get -y upgrade
@@ -26,8 +26,8 @@ RUN pip3.10 install grpc4bmi==0.5.0
2626

2727
# # Set the STEMMUS_SCOPE environmental variable, so the BMI can find the executable
2828
WORKDIR /
29-
ENV STEMMUS_SCOPE /STEMMUS_SCOPE
29+
ENV STEMMUS_SCOPE=/STEMMUS_SCOPE
3030

3131
EXPOSE 55555
3232
# Start grpc4bmi server
33-
CMD run-bmi-server --name "PyStemmusScope.bmi.implementation.StemmusScopeBmi" --port 55555 --debug
33+
CMD ["run-bmi-server", "--name", "PyStemmusScope.bmi.implementation.StemmusScopeBmi", "--port", "55555", "--debug"]

0 commit comments

Comments
 (0)