Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 578 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 578 Bytes

nginx

This is Dockerfile of nginx for geohub. It will build Docker image with customised nginx.conf

register docker image to Github Pakcage's Container Registy

  • create personal access token

see here

select read:packages, write:packages and delete:packages

$export CR_PAT=YOUR_TOKEN
$echo $CR_PAT | docker login ghcr.io -u USERNAME --password-stdin

Build and push docker image to private Github package

$docker build -t ghcr.io/undp-data/nginx:latest .
$docker push ghcr.io/undp-data/nginx:latest