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

10 lines
280 B
Bash
Raw Normal View History

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