Skip to content

Commit

Permalink
fix: docker dir
Browse files Browse the repository at this point in the history
  • Loading branch information
franklinkim committed Mar 22, 2024
1 parent b4f8b95 commit 1c472c1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build/buildx.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
FROM alpine:3.19.1

RUN apk --no-cache add ca-certificates
RUN addgroup -S contentserver && adduser -S -g contentserver contentserver
RUN addgroup -S contentserver && \
adduser -S -g contentserver contentserver

COPY contentserver /usr/bin/

RUN mkdir "/var/lib/contentserver" && \
chmod 0700 "/var/lib/contentserver" && \
chown contentserver:contentserver "/var/lib/contentserver"

USER contentserver
ENTRYPOINT ["contentserver"]

0 comments on commit 1c472c1

Please sign in to comment.