We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3afe75 commit 7508ccbCopy full SHA for 7508ccb
Dockerfile
@@ -3,7 +3,17 @@ MAINTAINER Justin Menga <[email protected]>
3
LABEL application=microtrader
4
5
# Install system dependencies
6
-RUN apk add --update --no-cache bash curl
+RUN apk add --update --no-cache bash curl
7
+
8
+# Create vertx user
9
+RUN mkdir /app && \
10
+ addgroup -g 1000 vertx && \
11
+ adduser -u 1000 -G vertx -D vertx && \
12
+ chown -R vertx:vertx /app
13
14
+# Set default user
15
+USER vertx
16
+WORKDIR /app
17
18
# Set entrypoint and default command arguments
19
COPY cluster.xml /app/conf/cluster.xml
0 commit comments