This commit is contained in:
@@ -118,7 +118,7 @@ steps:
|
|||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- echo "🛑 Stopping old container..."
|
- echo "🛑 Stopping old container..."
|
||||||
- docker rm -f blog || true
|
- docker rm -f tic-tac-toe-ui || true
|
||||||
|
|
||||||
- name: run-container
|
- name: run-container
|
||||||
image: docker:24
|
image: docker:24
|
||||||
@@ -131,8 +131,8 @@ steps:
|
|||||||
- echo "🚀 Starting container lila-games/tic-tac-toe-ui:$IMAGE_TAG ..."
|
- echo "🚀 Starting container lila-games/tic-tac-toe-ui:$IMAGE_TAG ..."
|
||||||
- |
|
- |
|
||||||
docker run -d \
|
docker run -d \
|
||||||
--name blog \
|
--name tic-tac-toe-ui \
|
||||||
-p 3002:3000 \
|
-p 3003:3000 \
|
||||||
-e NODE_ENV=production \
|
-e NODE_ENV=production \
|
||||||
--restart always \
|
--restart always \
|
||||||
lila-games/tic-tac-toe-ui:$IMAGE_TAG
|
lila-games/tic-tac-toe-ui:$IMAGE_TAG
|
||||||
|
|||||||
Reference in New Issue
Block a user