Closed BananeGuimauve closed 5 years ago
Adding a Docker support with a Dockerfile, .dockerignore and a production Sqlite database configuration.
To launch the app in a Docker container :
First, build the Docker image of the app : docker build -f "[Dockerfile path]" -t [An image name]:[A tag] "[Application root path]"
After, run your image in a Docker container : docker run -d -p [A host port]:80 [Image name]:[Image tag]
Now, open your favorite browser at localhost:[Chosen host port] and enjoy !
Adding a Docker support with a Dockerfile, .dockerignore and a production Sqlite database configuration.
To launch the app in a Docker container :
First, build the Docker image of the app : docker build -f "[Dockerfile path]" -t [An image name]:[A tag] "[Application root path]"
After, run your image in a Docker container : docker run -d -p [A host port]:80 [Image name]:[Image tag]
Now, open your favorite browser at localhost:[Chosen host port] and enjoy !