Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
teckids.org
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Teckids
Team PR
teckids.org
Commits
71b119ca
Unverified
Commit
71b119ca
authored
11 months ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Allow different base URLs in caddy and build
parent
77c61756
No related branches found
Branches containing commit
No related tags found
1 merge request
!50
Add k8s deployment
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Caddyfile
+5
-1
5 additions, 1 deletion
Caddyfile
Dockerfile
+3
-1
3 additions, 1 deletion
Dockerfile
with
8 additions
and
2 deletions
Caddyfile
+
5
−
1
View file @
71b119ca
http://teckids.org {
http:// {
error 404
}
http://teckids.org, http://*.review.teckids.org {
root * /srv
encode zstd gzip
file_server
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
3
−
1
View file @
71b119ca
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment