File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ RUN yum install -y wget gzip tar zip rsync shadow-utils gcc-c++ &&\
19
19
20
20
# Set the build of a package as the default command
21
21
# Initialise RSYNC_OPTIONS to exclude the node_modules folder
22
- ENV RSYNC_OPTIONS --exclude node_modules
22
+ ENV RSYNC_OPTIONS --exclude node_modules --exclude .git
23
23
COPY package-lambda.sh /usr/bin/package-lambda
24
24
CMD ["package-lambda" ]
25
25
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ RUN yum install -y wget util-linux tar zip rsync make gcc-c++ zlib-devel bzip2-d
21
21
22
22
# Set the build of a package as the default command
23
23
# Initialise RSYNC_OPTIONS to exclude the virtual environement folder
24
- ENV RSYNC_OPTIONS --exclude venv --exclude .venv
24
+ ENV RSYNC_OPTIONS --exclude venv --exclude .venv --exclude .git
25
25
COPY package-lambda.sh /usr/bin/package-lambda
26
26
CMD ["package-lambda" ]
27
27
You can’t perform that action at this time.
0 commit comments