Compare commits

...

3 Commits

Author SHA1 Message Date
Tom Alexander
8705b95127 Switch to docker.
Some checks failed
build-staging Build build-staging has failed
2026-07-13 21:23:14 -04:00
Tom Alexander
a34a82e3f5 Revert "Include homepage_private static files."
This reverts commit f95fb5611a.
2026-07-13 21:20:04 -04:00
Tom Alexander
f95fb5611a Include homepage_private static files. 2026-07-13 21:19:44 -04:00

View File

@@ -2,6 +2,9 @@
# Builder
#
FROM scratch AS private
ADD git@code.fizz.buzz:talexander/homepage_private.git /homepage_private
FROM nixos/nix:2.31.3 AS builder
RUN tee -a /etc/nix/nix.conf <<EOF
@@ -41,6 +44,9 @@ COPY --from=builder /tmp/ca-bundle.crt /etc/ssl/certs/ca-bundle.crt
COPY --from=builder /tmp/nix-store-closure /nix/store
COPY --from=builder /tmp/build/result /app
COPY --from=builder /tmp/sh /bin/sh
COPY --link --from=private /homepage_private/static /foo
EXPOSE 8080
#RUN addgroup web && adduser -D -G web web
#&& install -d -D -o web -g web -m 700 /srv/http/public