Skip to content

Commit

Permalink
Reverted to single-image setup for zola and server
Browse files Browse the repository at this point in the history
  • Loading branch information
b-dont committed Jan 8, 2024
1 parent d80d22d commit fa43a7a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 40 deletions.
12 changes: 12 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 1,12 @@
FROM ghcr.io/getzola/zola:v0.17.1 as zola

COPY . /brandont.dev
WORKDIR /brandont.dev
RUN ["zola", "--config", "config/zola.config.toml", "build"]

FROM ghcr.io/static-web-server/static-web-server:2
WORKDIR /
COPY --from=zola /brandont.dev/public /public
COPY ./config/server.config.toml /config.toml

VOLUME /etc/letsencrypt/live/brandont.dev
27 changes: 0 additions & 27 deletions compose.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions config/server.Containerfile

This file was deleted.

6 changes: 0 additions & 6 deletions config/zola.Containerfile

This file was deleted.

5 changes: 0 additions & 5 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 25,6 @@ stop name:
purge name: (stop name)
podman image prune -f
podman rmi brandont.dev:{{name}}

# prune images, volumes, and containers
prune:
podman image prune -f
podman container prune -f
podman volume prune -f

# remove a specific image
Expand Down

0 comments on commit fa43a7a

Please sign in to comment.