From 1c870d80f9f681e29f2db143e5438883d5290bca Mon Sep 17 00:00:00 2001 From: daniele Date: Sat, 25 Mar 2023 11:13:54 +0200 Subject: [PATCH] fix: remove conflicts after merge --- Dockerfile | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Dockerfile b/Dockerfile index e1d0526..2bb41bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,21 +35,9 @@ FROM gcr.io/distroless/static ENV HBOX_MODE=production ENV HBOX_STORAGE_DATA=/data/ ENV HBOX_STORAGE_SQLITE_URL=/data/homebox.db?_fk=1 -<<<<<<< HEAD - -RUN apk --no-cache add ca-certificates -RUN mkdir /app -COPY --from=builder /go/bin/api /app - -RUN chmod +x /app/api -======= -ENV USER=appuser -ENV UID=1001 -ENV GID=1001 COPY --from=builder --chown=nonroot /go/bin/api /app/api COPY --from=builder --chown=nonroot /data /data ->>>>>>> bc9d021... feat: use distroless image and non-root user LABEL Name=homebox Version=0.0.1 LABEL org.opencontainers.image.source="https://github.com/hay-kot/homebox" @@ -57,9 +45,6 @@ EXPOSE 7745 WORKDIR /app VOLUME [ "/data" ] -<<<<<<< HEAD -======= USER nonroot ->>>>>>> bc9d021... feat: use distroless image and non-root user ENTRYPOINT [ "/app/api" ] CMD [ "/data/config.yml" ]