2dcf44bc0b92a1d6112034bccc6399b0ae114e49
Build and Push Container / build-and-push (push) Successful in 1m24s
Developer Homepage
A static portfolio site packaged for deployment with Podman quadlets.
Build & Run with Podman
Build the image
podman build -t homepage:latest .
Run the container
podman run --rm -p 0.0.0.0:8080:8080 -v ./src:/usr/share/nginx/html:z homepage:latest
Visit http://localhost:8080 in your browser.
Deploy with Quadlet
- Copy the container definition to systemd:
mkdir -p ~/.config/containers/systemd
cp homepage.container ~/.config/containers/systemd/
- Reload systemd and start the service:
systemctl --user daemon-reload
systemctl --user start homepage.container
- Enable auto-start on boot:
systemctl --user enable homepage.container
Development
Source files are in the src/ directory. Edit index.html, style.css, and script.js directly. Rebuild the image after making changes.
Description
Languages
JavaScript
54.7%
HTML
25.8%
CSS
18.7%
Shell
0.6%
Dockerfile
0.2%