C2A-Installation-Server/docker/script/start-api-prod.sh

10 lines
285 B
Bash
Raw Normal View History

docker stop c2a-api-prod; docker rm c2a-api-prod;
docker run --detach \
--name c2a-api-prod \
--publish 8004:5000 \
--env ENV='prod' \
--volume /root/.ssh:/root/.ssh \
--volume /api/prod:/app \
--restart unless-stopped \
c2a/api