Skip to content

Commit 6abbe04

Browse files
committed
fix: dockerfile
Signed-off-by: Me0wo <152751263+Sn0wo2@users.noreply.github.com>
1 parent a42c255 commit 6abbe04

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Dockerfile.goreleaser

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ WORKDIR /build/
77

88
RUN mkdir -p /app && cp -a . /app/
99

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
1410
RUN chmod 555 /app/QuickNote
1511

1612
FROM scratch
1713

1814
COPY --from=builder /etc/passwd /etc/passwd
19-
COPY --from=builder /etc/group /group
15+
16+
COPY --from=builder /etc/group /etc/group
2017

2118
COPY --from=builder --chown=appuser:appgroup /app /opt/quicknote
2219

2320
USER appuser
2421
EXPOSE 3000
25-
CMD ["/opt/quicknote/QuickNote"]
22+
23+
WORKDIR /opt/quicknote
24+
25+
CMD ["./QuickNote"]

0 commit comments

Comments
 (0)