static-web container
Go to file
Ask Bjørn Hansen 53d8dc7c26
All checks were successful
continuous-integration/drone/push Build is passing
Alpine 3.14.2 base
2021-10-18 11:11:42 -07:00
.drone.yml Add drone config 2021-10-18 10:01:39 -07:00
Dockerfile Alpine 3.14.2 base 2021-10-18 11:11:42 -07:00
README.md Update static-web image slightly 2018-08-19 04:35:51 -07:00
run-httpd various changes to move things to the new kubernetes cluster 2019-05-01 03:51:07 -07:00

static-misc

Test locally

docker build -t quay.io/perl/static-web:v1.2.0 .
git clone git@git.develooper.com:perl-static-misc.git git

docker run -p 8000:80 --name static-misc \
   -v `pwd`/git:/git/static -v `pwd`/config:/web/config \
   -ti --rm quay.io/perl/static-web:v1.2.0

Test with

curl -H 'Host: i.perl.org' localhost:8000

To get a shell in the container run

docker exec -ti static-misc bash

And then run curl -H 'Host: i.perl.org' localhost there.

Production image

The "production image" is in https://quay.io/perl/static-web - the image is "manually" built and pushed because I didn't want to give quay access to all of this git repository.

REV=v1.0 IMAGE=quay.io/perl/static-web:$REV docker build -t $IMAGE . &&
docker push $IMAGE