Skip to content

Commit

Permalink
n
Browse files Browse the repository at this point in the history
  • Loading branch information
TOwInOK committed Oct 27, 2024
1 parent b4517b5 commit 1c541b1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,9 @@ WORKDIR /app
RUN apk add --no-cache ca-certificates openssl
# Changed path to include the target architecture
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/shuller_bot .
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
RUN addgroup -S appgroup && adduser -S appuser -G appgroup \
&& chown appuser:appgroup /app/shuller_bot \
&& chmod +x /app/shuller_bot
USER appuser

CMD ["./shuller_bot"]

0 comments on commit 1c541b1

Please sign in to comment.