Skip to content

pondpiu/BookVoyage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BookVoyage

Running via Dockerfile

built image

docker build -t book-voyage .

create .env file

touch .env
nano .env
# then fill the env with the necessary variable

running

docker run --name mashup -p 80:3000 -p 4000:4000 --env-file .env -i -t book-voyage

then access the website via localhost:80

Building and running on EC2 via Dockerhub

built image targeting linux and push to dockerhub

docker buildx build --platform linux/amd64 --push -t pondpiu/book-voyage .

create .env file

touch .env
nano .env
# then fill the env with the necessary variable

running image on ec2

docker run --name mashup -p 80:3000 -p 4000:4000 --env-file .env -i -t pondpiu/book-voyage