Add start script for building and running Docker container

This commit is contained in:
whaffman 2025-07-03 15:38:15 +02:00
parent 81cc7c3b43
commit 46c925b0c5

10
start.sh Normal file
View File

@ -0,0 +1,10 @@
#!/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