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 a42c255 commit 6abbe04Copy full SHA for 6abbe04
1 file changed
Dockerfile.goreleaser
@@ -7,19 +7,19 @@ WORKDIR /build/
7
8
RUN mkdir -p /app && cp -a . /app/
9
10
-RUN ls -la /app
11
-
12
-RUN find /app -type d -print0 | xargs -0 chmod 555
13
-RUN find /app -type f -print0 | xargs -0 chmod 444
14
RUN chmod 555 /app/QuickNote
15
16
FROM scratch
17
18
COPY --from=builder /etc/passwd /etc/passwd
19
-COPY --from=builder /etc/group /group
+
+COPY --from=builder /etc/group /etc/group
20
21
COPY --from=builder --chown=appuser:appgroup /app /opt/quicknote
22
23
USER appuser
24
EXPOSE 3000
25
-CMD ["/opt/quicknote/QuickNote"]
+WORKDIR /opt/quicknote
+CMD ["./QuickNote"]
0 commit comments