Skip to content
Snippets Groups Projects
Commit 57c98dc0 authored by scott.eppler's avatar scott.eppler Committed by Alex Ellis
Browse files

Update MarkdownRender sample-function to run as non-root user

parent fbcec74f
No related branches found
No related tags found
No related merge requests found
......@@ -21,4 +21,7 @@ RUN chmod +x /usr/bin/fwatchdog
COPY --from=builder /go/bin/MarkdownRender /usr/bin/MarkdownRender
ENV fprocess "/usr/bin/MarkdownRender"
RUN addgroup -g 1000 -S app && adduser -u 1000 -S app -G app
USER 1000
CMD ["/usr/bin/fwatchdog"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment