Skip to content

Commit 9ee824d

Browse files
committed
refactor update script: on update frontend remove output folder without errors (even if the folder doesn't exist)
1 parent 1cab3e3 commit 9ee824d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
dockerfile: ./Dockerfile
1111
volumes:
1212
- ./hwproj.front/static_dist:/static_output
13-
command: sh -c "[ -d /static_output/ ] && rm -r /static_output/*; cp -r /static/* /static_output"
13+
command: sh -c "rm -rf /static_output/*; cp -r /static/* /static_output"
1414
depends_on:
1515
- hwproj.apigateway.api
1616

0 commit comments

Comments
 (0)