https://github.com/undp-data/nginx
This is Dockerfile of nginx for geohub
https://github.com/undp-data/nginx
Last synced: 4 months ago
JSON representation
This is Dockerfile of nginx for geohub
- Host: GitHub
- URL: https://github.com/undp-data/nginx
- Owner: UNDP-Data
- License: mit
- Created: 2021-12-16T14:15:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-17T17:33:28.000Z (over 4 years ago)
- Last Synced: 2025-03-05T16:40:48.976Z (over 1 year ago)
- Language: Dockerfile
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/settings/tokens)
select `read:packages`, `write:packages` and `delete:packages`
```bash
$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
```bash
$docker build -t ghcr.io/undp-data/nginx:latest .
$docker push ghcr.io/undp-data/nginx:latest
```