You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
winoooops edited this page Oct 13, 2020
·
1 revision
Running a Local Development Web Server
To debug code and run tests, it is often useful to have a local HTTP server. For the purpose of further deploying the project on AWS, we have made available a local web server with a dockerized code-server.
Generate a local Docker Image
a. Build from Dockerfile in the root directory
docker build -t winoooops/websvf-docker .
b. Download from DockerHub
sudo docker pull winoooops/websvf-docker
Verify the Docker Image exists locally
# You should see the local repository named winoooops/websvf-docker .
docker images -a
To start the web server, run
docker run -p 8080:8080 --name websvf winoooops/websvf-docker
To access the local server, enter the following URL into your web browser: