10 lines
285 B
Bash
10 lines
285 B
Bash
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
|