diff --git a/Dockerfile b/Dockerfile index db6a4ec..3b755b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,13 +28,13 @@ RUN apk --update upgrade \ && apk --no-cache add ca-certificates bash openrc \ && rm -rf /var/cache/apk/* -RUN addgroup -S hydroxide && adduser -S hydroxide -G hydroxide +RUN addgroup -S hydroxide && adduser -h /hydroxide -S hydroxide -G hydroxide # copy hydroxide COPY --chown=hydroxide:hydroxide --from=builder /go/bin/hydroxide /usr/bin/hydroxide # using copy instead of volume to avoid permission issues -COPY --chown=hydroxide:hydroxide --from=builder /hydroxide /hydroxide +#COPY --chown=hydroxide:hydroxide --from=builder /hydroxide /hydroxide USER hydroxide WORKDIR /hydroxide