mirror of
https://github.com/r-freeman/portfolio.git
synced 2025-06-27 18:50:20 +00:00
All checks were successful
Build And Publish / BuildAndPublish (push) Successful in 2m10s
21 lines
387 B
Bash
Executable File
21 lines
387 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cat > docker-compose.yaml <<EOF
|
|
networks:
|
|
portfolio_net:
|
|
driver: bridge
|
|
name: portfolio_net
|
|
|
|
services:
|
|
portfolio_frontend:
|
|
container_name: portfolio_frontend
|
|
image: portfolio/frontend
|
|
build:
|
|
context: .
|
|
dockerfile: ./Dockerfile
|
|
ports:
|
|
- "${SERVER_IP}:3000:3000"
|
|
restart: unless-stopped
|
|
networks:
|
|
- portfolio_net
|
|
EOF |