Skip to content

Commit 1334ad3

Browse files
committed
Update container build to run Elekto as non-root
... for security reasons. No changes are required for general operation except to put the meta in /tmp. Signed-off-by: Josh Berkus <[email protected]>
1 parent 8d58a8e commit 1334ad3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ WORKDIR /app
44

55
ADD . /app
66

7-
RUN pip install -r requirements.txt
7+
RUN pip install -r requirements.txt
8+
9+
USER 10017
810

911
ENTRYPOINT ./entrypoint.sh

0 commit comments

Comments
 (0)