- Install if you don't have it already: https://docs.docker.com/get-docker/
-
Open a terminal or command prompt and navigate to the directory where you have stored this application. Should look something like this:
cd /path/to/app/totally-not-discord
Please replace
/path/to/app/
with the actual path to the application on your computer. -
Build the Docker image by running this command:
docker build -t totally-not-discord .
This may take some time, like a minute or two.
-
Start the Docker container by running this command:
docker run -p 8000:8000 totally-not-discord
-
Open a web browser and go to the following address:
http://localhost:8000
The application should now be running and accessible in your browser.
- If something doesnt work as expected, you can try the following commands to reset the application:
You can see
docker stop <your-container-id> docker rm <your-container-id> docker rmi <your-image-id>
your-container-id
andyour-image-id
by listing all container withdocker ps -a
, and list all images withdocker images
respectively.
Thank you for your time and consideration. Please give me all the points please.