fix: permissions

This commit is contained in:
Matteo Pietro Dazzi 2026-02-22 19:12:49 +01:00
parent e77ecac9fa
commit e090621c3b
3 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,7 @@ HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
COPY --from=builder /src/build/picoclaw /usr/local/bin/picoclaw
# Copy container init scripts
COPY container/* /usr/local/bin/
COPY --chmod=0755 container/* /usr/local/bin/
# Create non-root user and group
RUN addgroup -g 1000 picoclaw && \

View file

@ -5,7 +5,7 @@ ARG TARGETPLATFORM
RUN apk add --no-cache ca-certificates tzdata
COPY $TARGETPLATFORM/picoclaw /usr/local/bin/picoclaw
COPY container/* /usr/local/bin/
COPY --chmod=0755 container/* /usr/local/bin/
ENTRYPOINT ["entrypoint"]
CMD ["gateway"]

View file

@ -23,7 +23,7 @@ services:
configs:
- source: init_script
target: /usr/local/bin/init
mode: 0777
mode: 0755
entrypoint: ["picoclaw", "agent"]
stdin_open: true
tty: true