More Gitpod fixes.
This commit is contained in:
parent
4b091cb347
commit
08bdabfa9a
|
@ -11,7 +11,6 @@ tasks :
|
|||
openMode : split-right
|
||||
init : |
|
||||
gp sync-await docker-build
|
||||
make frontend-build
|
||||
command : |
|
||||
make frontend-bash
|
||||
|
||||
|
|
4
Makefile
4
Makefile
|
@ -39,9 +39,9 @@ bash:
|
|||
|
||||
frontend-bash:
|
||||
docker-compose -f frontend/docker-compose.yml build
|
||||
docker-compose -f frontend/docker-compose.yml run --rm frontend
|
||||
docker-compose --env-file=.env -f frontend/docker-compose.yml run --rm frontend
|
||||
|
||||
frontend-build:
|
||||
docker-compose -f frontend/docker-compose.yml build
|
||||
docker-compose -f frontend/docker-compose.yml run --rm frontend npm run dev-build
|
||||
docker-compose --env-file=.env -f frontend/docker-compose.yml run --rm frontend npm run dev-build
|
||||
|
||||
|
|
|
@ -82,7 +82,6 @@ services :
|
|||
volumes :
|
||||
- station_data:/var/azuracast/stations
|
||||
- shoutcast2_install:/var/azuracast/servers/shoutcast2
|
||||
- letsencrypt:/etc/nginx/certs
|
||||
- tmp_data:/var/azuracast/www_tmp
|
||||
init : true
|
||||
restart : always
|
||||
|
|
|
@ -752,13 +752,9 @@ restore-legacy() {
|
|||
# Usage: ./docker.sh static [static_container_command]
|
||||
#
|
||||
static() {
|
||||
local PUID PGID
|
||||
PUID=$(id -u)
|
||||
PGID=$(id -g)
|
||||
|
||||
docker-compose -f frontend/docker-compose.yml down -v
|
||||
docker-compose -f frontend/docker-compose.yml build
|
||||
PUID=$PUID PGID=$PGID docker-compose -f frontend/docker-compose.yml run --rm frontend "$@"
|
||||
docker-compose --env-file=.env -f frontend/docker-compose.yml run --rm frontend "$@"
|
||||
exit
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue