Skip to content
Snippets Groups Projects
Unverified Commit 71b119ca authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Allow different base URLs in caddy and build

parent 77c61756
No related branches found
No related tags found
1 merge request!50Add k8s deployment
http://teckids.org {
http:// {
error 404
}
http://teckids.org, http://*.review.teckids.org {
root * /srv
encode zstd gzip
file_server
......
FROM alpine:latest AS build
ARG BASE_URL=https://teckids.org
RUN apk add --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ zola yarn
COPY . /src
WORKDIR /src
RUN yarn install
RUN zola build
RUN zola build -u $BASE_URL
FROM caddy:alpine AS serve
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment