10 lines
261 B
Bash
10 lines
261 B
Bash
#!/bin/bash
|
|
|
|
IMAGE_NAME="ft_onion_image"
|
|
CONTAINER_NAME="ft_onion_container"
|
|
|
|
# Build the Docker image
|
|
docker build -t $IMAGE_NAME -f Dockerfile .
|
|
|
|
# Run the Docker container
|
|
docker run --name $CONTAINER_NAME -d $IMAGE_NAME -p 4242:4242 --restart unless-stopped |