Update files
This commit is contained in:
parent
099191529c
commit
467e57ea8d
2 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ RUN apk add --no-cache ca-certificates
|
|||
WORKDIR /opt
|
||||
|
||||
# Copy binary into a standard location
|
||||
COPY --from=builder /bin/telegram-approval-join /usr/local/bin/telegram-approval-join
|
||||
COPY --from=builder /bin/telegram-join-approval-nuzzles /usr/local/bin/telegram-approval-join
|
||||
|
||||
# Create a non-root user and group with specific UID:GID and set ownership
|
||||
RUN addgroup -g 65532 app && \
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ rm -rf "$ROOT_DIR/cmd" "$ROOT_DIR/internal" "$ROOT_DIR/Dockerfile" "$ROOT_DIR/go
|
|||
# Copy source files, excluding .git and keeping patches/ and scripts/
|
||||
rsync -a --stats --exclude='.git' --exclude='internal/telegram-approval-join' \
|
||||
"$SUBMODULE_DIR/" "$ROOT_DIR/" \
|
||||
--exclude='patches' --exclude='scripts' --exclude='README.md'
|
||||
--exclude='patches' --exclude='scripts' --exclude='README.md' --exclude='Dockerfile'
|
||||
|
||||
# Remove scripts/ from .gitignore so we can track our sync script
|
||||
sed -i '/^scripts\/$/d' "$ROOT_DIR/.gitignore"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue