This repo contains a simple vweb API that can be containerized Feel free to fork it / edit it in any way you see fit
Docker IDE of choice (VS Code, Atom, Notepad++, (n)vim)
#!/bin/bash
git clone
#!/bin/bash
v v-with-docker.v
#!/bin/bash
docker build . -t your-container-name:sometag
#!/bin/bash
docker run --rm -d -p 8080:8080 your-container-name:sometag
After the container starts, run the following command
#!/bin/bash
curl http://localhost:8080
You should get the response
Hello world from vweb running within a container!
We will use this image to run in AWS Lambda, so this needs to be pushed to an image registry.
To push it to hub.docker.com, run
#!/bin/bash
docker push