Actual html serving
/ fatssh (push) Successful in 6m9s Details
/ macless-haystack-web (push) Successful in 1m30s Details

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2025-01-14 18:08:44 +00:00
parent f84a6b819b
commit 5bc93ba132
2 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,6 @@ jobs:
run: |
mkdir $HOME/.kube
echo "${{ secrets.KUBECONFIG_BUILDX }}" > $HOME/.kube/config
cat $HOME/.kube/config
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.6.1
with:

View File

@ -1,6 +1,6 @@
FROM nginx AS builder
RUN apt-get update && apt-get install -y unzip
RUN curl https://github.com/dchristl/macless-haystack/releases/download/v2.2.0/webapplication.zip -Lo /tmp/webapplication.zip && cd /tmp/ && unzip webapplication.zip && mv web/* /usr/share/nginx/
RUN curl https://github.com/dchristl/macless-haystack/releases/download/v2.2.0/webapplication.zip -Lo /tmp/webapplication.zip && cd /tmp/ && unzip webapplication.zip && mv web/* /usr/share/nginx/html/
FROM nginx
COPY --from=builder /usr/share/nginx /usr/share/nginx