Compare commits

...

3 Commits

Author SHA1 Message Date
Michał Rudowicz 56d1d08c70 Swap busybox webserver to caddy
/ build_website (push) Successful in 7s Details
/ build_and_push_container (push) Has been skipped Details
2025-03-09 22:41:01 +01:00
Michał Rudowicz f4a5bdb047 Margin on the bottom of content
/ build_website (push) Successful in 7s Details
/ build_and_push_container (push) Has been skipped Details
2025-02-28 22:24:03 +01:00
Michał Rudowicz 9a89a956f6 Darken link color, no feature borders
/ build_website (push) Successful in 9s Details
/ build_and_push_container (push) Has been skipped Details
2025-02-27 18:48:08 +01:00
5 changed files with 14 additions and 14 deletions

View File

@ -20,7 +20,7 @@
</head>
<body class='page {{layout.bodyClass}}'>
<div id="wrapper" class="wrapper">
<div id="wrapper" class="wrapper mb-3">
{% include header.html headerClass='header-extra' %}
{{content}}
</div>

View File

@ -1,7 +1,5 @@
.feature {
height: 100%;
border: 1px solid $white-offset;
border-radius: 3px;
padding: 20px;
background-color: #ffffff;
display: flex;

View File

@ -3,8 +3,8 @@
// Colors
$primary: #FDB515;
$primary-dark: #a01b16;
$secondary: #f88379;
$primary-dark: darken($primary, 10%);
$secondary: darken($primary, 20%);
$black: #2f2f41;
$white: #ffffff;
$white-offset: #fff6f8;
@ -119,3 +119,7 @@ body {
code {
color: #000;
}
a {
color: #dd9902;
}

View File

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

View File

@ -1,9 +1,7 @@
FROM busybox:stable
FROM caddy:2.9
# Create a non-root user to own the files and run our server
RUN adduser -D static
USER static
WORKDIR /home/static
# Run BusyBox httpd
CMD ["busybox", "httpd", "-f", "-v", "-p", "3000"]
RUN echo -e ":3000 {\n\
root * /var/www\n\
file_server\n\
}" > /etc/caddy/Caddyfile
WORKDIR /var/www