Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
EkkoG committed Sep 23, 2023
1 parent a6de3c4 commit e72cd48
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,11 @@ services:
env_file:
- ./.env
volumes:
- bin:$BUILD_DIR/bin
- ./bin:$BUILD_DIR/bin
- ./build.sh:$BUILD_DIR/build.sh
- ./files:$BUILD_DIR/custom_files
- ./.env:$BUILD_DIR/.env
command: "./build.sh"
volumes:
bin:
driver_opts:
type: none
device: $PWD/bin
o: bind
END
)
Expand All @@ -114,11 +107,11 @@ if [ ! -z $RM_FIRST ]; then
fi

mkdir -p bin
# # macOS no need to change the owner
# # change the owner of bin to 1000:1000 when running on linux
# if [[ $(uname) =~ "Linux" ]]; then
# sudo chown -R 1000:1000 bin
# fi
# macOS no need to change the owner
# change the owner of bin to 1000:1000 when running on linux
if [[ $(uname) =~ "Linux" ]]; then
sudo chown -R 1000:1000 bin
fi

compose up --remove-orphans
build_status=$?
Expand Down

0 comments on commit e72cd48

Please sign in to comment.