mirror of
https://git.moonleay.net/Websites/liljudd-website.git
synced 2025-07-26 11:22:04 +02:00
Improved docker workflow
This commit is contained in:
parent
3379a685e1
commit
1d4f7e6fc6
4 changed files with 16 additions and 596 deletions
|
@ -68,7 +68,7 @@ if [ $deploy ]; then
|
|||
fi
|
||||
|
||||
# Run Docker container in the background and capture container ID
|
||||
docker build -t $image_name .
|
||||
docker build --no-cache -t $image_name .
|
||||
|
||||
if [ $deploy ]; then
|
||||
container_id=$(docker run --name $container_name -p 3000:3000 -d $image_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue