Question: I have tried multiple different scripts and setups and this is still giving issues on the docker build command. These are the instructions For testing,
I have tried multiple different scripts and setups and this is still giving issues on the docker build command.
These are the instructions
For testing, you can use the Python http server in the standard library, which can be run using "python -m http.server -d
Create a new folder /home/user/web2 with a Dockerfile and a subfolder www containing a static file to be served. Write the Dockerfile so that it includes the default Python http server command to run for the web server, using port 8001. Once you have assembled the necessary steps in your Dockerfile, execute the command to build it.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
