mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
a80084f3df
* support docs for pip and git * upload spaces with gradio wheel * aws * upload wheel to aws * fix error in docker compose * fix dockerfile * fix dockerfile * fix upload demos * fix upload demos * styling * fake change * remove check_version * fixes * fix buttons * fix navigation on main * add github action * build version docs in docker * fix path and docker errors * add requests * fix command * more docker fixes * more docker fixes * no prerelease * fix restart demos * undo fake changes, and fix build_version * fix variable * fix mistake * add how to build from main * new line to requirements * fix instructions * Update CHANGELOG.md * duplicate line in Dockerfile * switch to github actions, use separate pages * fix issues in github action * fix path for github action * more fixes * more fixes * fix github action * add template * fix demos template * update release notes for 3.9 * add -A * refactor * keep old version htmls * unpin gradio version in requirements * Update website/homepage/src/docs/template.html Co-authored-by: Abubakar Abid <abubakar@huggingface.co> Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
21 lines
673 B
YAML
21 lines
673 B
YAML
version: "3.7"
|
|
services:
|
|
homepage:
|
|
environment:
|
|
- AUTH_TOKEN=${AUTH_TOKEN}
|
|
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
|
|
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
|
|
- AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}
|
|
- LATEST_COMMIT=${LATEST_COMMIT}
|
|
build:
|
|
context: ../
|
|
args:
|
|
AUTH_TOKEN: ${AUTH_TOKEN}
|
|
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
|
|
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
|
|
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION}
|
|
LATEST_COMMIT: ${LATEST_COMMIT}
|
|
dockerfile: ./website/homepage/Dockerfile
|
|
container_name: homepage
|
|
ports:
|
|
- "8080:80" |