Compare commits

..

No commits in common. "main" and "main" have entirely different histories.
main ... main

3 changed files with 1 additions and 17 deletions

View File

@ -38,18 +38,3 @@ Edit `_layouts/home.html`
Edit `_data/menus.yml` Edit `_data/menus.yml`
### Rebuilding and pushing the build/serve images
You need to be authenticated to do this. Go to [Applications](https://git.hswro.org/user/settings/applications),
create a new Access Token with Access set to All and scope of Packages: Read and Write. Run `docker login git.hswro.org`,
enter your Forgejo username, use the Access Token as a password. From there you can publish images:
```
docker build -t git.hswro.org/hswro/hswro_org_build -f docker/build.Dockerfile .
docker push git.hswro.org/hswro/hswro_org_build:latest
```
```
docker build -t git.hswro.org/hswro/hswro_org_serve_base:caddy -f docker/serve_base.Dockerfile .
docker push git.hswro.org/hswro/hswro_org_serve_base:caddy
```

View File

@ -1,4 +1,4 @@
FROM git.hswro.org/hswro/hswro_org_serve_base:caddy FROM git.hswro.org/fleg/serve_base:caddy
# Copy the static website # Copy the static website
# Use the .dockerignore file to control what ends up inside the image! # Use the .dockerignore file to control what ends up inside the image!

View File

@ -4,7 +4,6 @@ RUN echo -e ":3000 {\n\
root * /var/www\n\ root * /var/www\n\
header /.well-known* Content-Type application/json\n\ header /.well-known* Content-Type application/json\n\
header /.well-known/matrix/client Access-Control-Allow-Origin *\n\ header /.well-known/matrix/client Access-Control-Allow-Origin *\n\
redir /d-i/trixie/preseed.cfg https://git.hswro.org/HSWro-infra/hswro-vm-provisioning/raw/branch/master/preseed.cfg temporary\n\
file_server\n\ file_server\n\
}" > /etc/caddy/Caddyfile }" > /etc/caddy/Caddyfile
WORKDIR /var/www WORKDIR /var/www