Add .git to .dockerignore to save >100 MB on image size

This commit is contained in:
Grzegorz Gidel
2023-04-27 21:07:05 +02:00
parent b83ef20c03
commit b3b1e42755
2 changed files with 1 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
.git
node_modules
npm-debug.log
readme*

View File

@@ -40,7 +40,6 @@ RUN \
echo "*** Cleanup ***" && \
mv "./docker/docker-entrypoint.sh" "./" && \
rm -rf "./docker" && \
rm -rf "./.git" && \
echo "*** Make docker-entrypoint.sh executable ***" && \
chmod +x "./docker-entrypoint.sh" && \
echo "*** Convert line endings to Unix format ***" && \