Mercurial > dive4elements > river
comparison docker/Dockerfile.artifacts @ 9737:0c4736d5dd4a 3.2.x
Do not expose ports that are not meant to be published
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 25 Jul 2022 12:31:08 +0200 |
parents | 93b9034613bc |
children | b5d4cb088737 |
comparison
equal
deleted
inserted
replaced
9736:492f8e615c38 | 9737:0c4736d5dd4a |
---|---|
41 RUN ../../framework/artifact-database/bin/createArtifacts.sh | 41 RUN ../../framework/artifact-database/bin/createArtifacts.sh |
42 RUN ./bin/createDatacage.sh | 42 RUN ./bin/createDatacage.sh |
43 | 43 |
44 RUN mvn -q -DskipTests package assembly:single | 44 RUN mvn -q -DskipTests package assembly:single |
45 | 45 |
46 EXPOSE 8181 | |
47 | |
48 WORKDIR /opt/d4e/bin | 46 WORKDIR /opt/d4e/bin |
49 RUN useradd d4e | 47 RUN useradd d4e |
50 RUN chown d4e:d4e . | 48 RUN chown d4e:d4e . |
51 USER d4e | 49 USER d4e |
52 | 50 |