We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab4e492 commit 46a2333Copy full SHA for 46a2333
Dockerfile
@@ -8,11 +8,10 @@ RUN make dep && make build && rm fastauth cache.go
8
FROM base as builder
9
COPY *.go *.sql login.html banner.txt ./
10
RUN make build test
11
-RUN touch fastauth.db
12
13
FROM gcr.io/distroless/static
14
WORKDIR /home/nonroot
15
-COPY --from=builder /app/login.html /app/banner.txt /app/fastauth /app/rmdb.sql /app/init.sql /app/fastauth.db ./
+COPY --from=builder /app/login.html /app/banner.txt /app/fastauth /app/rmdb.sql /app/init.sql ./
16
USER nonroot
17
VOLUME /home/nonroot/fastauth.db
18
ENTRYPOINT ["/home/nonroot/fastauth"]
0 commit comments