Skip to content

Commit

Permalink
build: development should not be copied in the first place [additiona…
Browse files Browse the repository at this point in the history
…l tests, build docs]
  • Loading branch information
robinbourianes-kalisio committed Mar 15, 2024
1 parent a22e4a9 commit b509627
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN \
node /opt/kalisio/kli/index.js /opt/kalisio/kli.js --install && \
node /opt/kalisio/kli/index.js /opt/kalisio/kli.js --link --link-folder /opt/kalisio/yarn-links && \
cd /opt/kalisio/$APP && yarn pwa:build && \
rm -fR /opt/kalisio/development /opt/kalisio/kli /opt/kalisio/kli.js
rm -fR /opt/kalisio/kli /opt/kalisio/kli.js


## Copy to final container
Expand Down
1 change: 1 addition & 0 deletions app.Dockerfile.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# specific folders, we copy everyhting but the following :

# Ignore all these
development/*
**/node_modules
**/npm-debug.log
**/*Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ get_ci_build_number() {
else
case "$CI_ID" in
github)
echo "$GITHUB_RUN_NUMBER-$GITHUB_RUN_ATTEMPT"
echo "$GITHUB_RUN_NUMBER.$GITHUB_RUN_ATTEMPT"
;;
gitlab)
echo "$CI_JOB_ID"
Expand Down

0 comments on commit b509627

Please sign in to comment.