Files
shuffle-cracked/frontend/run.sh
T
2022-01-10 16:35:29 +01:00

18 lines
391 B
Bash
Executable File

#!/bin/sh
docker stop shuffle-frontend
docker rm shuffle-frontend
docker rmi frikky/shuffle:frontend
echo "Running build for website"
#sudo npm run build
docker build . -t ghcr.io/frikky/shuffle-frontend:nightly
echo "Starting server"
# Rerun build locally for it to update :)
#docker run -it \
# -p 3001:80 \
# -p 3002:443 \
# -v $(pwd)/build:/usr/share/nginx/html:ro \
# --rm \
# nginx