fix: permissions
This commit is contained in:
parent
e77ecac9fa
commit
e090621c3b
3 changed files with 3 additions and 3 deletions
|
|
@ -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 --from=builder /src/build/picoclaw /usr/local/bin/picoclaw
|
||||||
|
|
||||||
# Copy container init scripts
|
# Copy container init scripts
|
||||||
COPY container/* /usr/local/bin/
|
COPY --chmod=0755 container/* /usr/local/bin/
|
||||||
|
|
||||||
# Create non-root user and group
|
# Create non-root user and group
|
||||||
RUN addgroup -g 1000 picoclaw && \
|
RUN addgroup -g 1000 picoclaw && \
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ ARG TARGETPLATFORM
|
||||||
RUN apk add --no-cache ca-certificates tzdata
|
RUN apk add --no-cache ca-certificates tzdata
|
||||||
|
|
||||||
COPY $TARGETPLATFORM/picoclaw /usr/local/bin/picoclaw
|
COPY $TARGETPLATFORM/picoclaw /usr/local/bin/picoclaw
|
||||||
COPY container/* /usr/local/bin/
|
COPY --chmod=0755 container/* /usr/local/bin/
|
||||||
|
|
||||||
ENTRYPOINT ["entrypoint"]
|
ENTRYPOINT ["entrypoint"]
|
||||||
CMD ["gateway"]
|
CMD ["gateway"]
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ services:
|
||||||
configs:
|
configs:
|
||||||
- source: init_script
|
- source: init_script
|
||||||
target: /usr/local/bin/init
|
target: /usr/local/bin/init
|
||||||
mode: 0777
|
mode: 0755
|
||||||
entrypoint: ["picoclaw", "agent"]
|
entrypoint: ["picoclaw", "agent"]
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: true
|
tty: true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue