Compare commits

...

2 commits

Author SHA1 Message Date
Jessica Canady abf86119f4 I wonder if you can build the local image.
Some checks failed
Build and Deploy / deploy (push) Failing after 1s
2024-04-21 10:54:32 -04:00
Jessica Canady 878f0fb434 Add our own dockerfile.
Running, building, serving, CI, all that.
2024-04-20 19:44:01 -04:00
3 changed files with 19 additions and 4 deletions

View file

@ -3,11 +3,8 @@ on: [push]
jobs: jobs:
deploy: deploy:
container: container:
image: ghcr.io/catthehacker/ubuntu:act-22.04 image: .
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: github.com/taiki-e/install-action@v2
with:
tool: zola@0.17.1
- run: | - run: |
zola build zola build

10
Dockerfile Normal file
View file

@ -0,0 +1,10 @@
FROM ghcr.io/getzola/zola:v0.17.1 as zola
MAINTAINER Jessica Phoenix Canady <jess@canady.tech>
COPY . /blog
WORKDIR /blog
EXPOSE 1111
ENTRYPOINT ["zola", "serve", "-i", "0.0.0.0"]

8
bin/serve Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
set -e
cd "$(dirname "$0")/.."
docker build --tag jessite .
docker run -d -p 1111:1111 --rm --name jessite jessite