diff --git a/Dockerfile b/Dockerfile index 670d3d8..8fa0e06 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,13 @@ FROM ghcr.io/getzola/zola:v0.17.1 as zola COPY . /project WORKDIR /project -RUN ["zola", "build"] -FROM ghcr.io/static-web-server/static-web-server:2 -WORKDIR / -COPY --from=zola /project/public /public +ENV PATH="/usr/local/bin:${PATH}" + +CMD ["serve", "--interface", "0.0.0.0", "--port", "80", "--base-url", "codicam.penwing.org"] + +#RUN ["zola", "build"] + +#FROM ghcr.io/static-web-server/static-web-server:2 +#WORKDIR / +#COPY --from=zola /project/public /public diff --git a/content/codicam/.flatnotes/4_0p5i1sd28b0kwnhq.seg b/content/codicam/.flatnotes/4_0p5i1sd28b0kwnhq.seg new file mode 100644 index 0000000..5555895 Binary files /dev/null and b/content/codicam/.flatnotes/4_0p5i1sd28b0kwnhq.seg differ diff --git a/content/codicam/.flatnotes/4_7cxe2t89vai1cbya.seg b/content/codicam/.flatnotes/4_7cxe2t89vai1cbya.seg deleted file mode 100644 index 39c4071..0000000 Binary files a/content/codicam/.flatnotes/4_7cxe2t89vai1cbya.seg and /dev/null differ diff --git a/content/codicam/.flatnotes/_4_5.toc b/content/codicam/.flatnotes/_4_19.toc similarity index 76% rename from content/codicam/.flatnotes/_4_5.toc rename to content/codicam/.flatnotes/_4_19.toc index ca77c7b..abb98e5 100644 Binary files a/content/codicam/.flatnotes/_4_5.toc and b/content/codicam/.flatnotes/_4_19.toc differ diff --git a/content/codicam/_index.md b/content/codicam/_index.md index 854e287..808484e 100644 --- a/content/codicam/_index.md +++ b/content/codicam/_index.md @@ -8,6 +8,8 @@ on fait plein de trucs vachements cools # Projets +avec des gens super géniaux + ## Truc cool [lien](@/codicam/truccool.md) diff --git a/content/roboticam/_index.md b/content/roboticam/_index.md index 24209a7..96fb7f4 100644 --- a/content/roboticam/_index.md +++ b/content/roboticam/_index.md @@ -8,6 +8,8 @@ on fait plein de trucs vachements cools # Projets +Big up au général Kenobiiiiiii + ## Truc cool [lien](@/roboticam/truccool.md) diff --git a/docker-compose.yml b/docker-compose.yml index 422bca4..4f64273 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,11 @@ services: dockerfile: Dockerfile ports: - "8001:80" + volumes: + - ./content:/project/content + - ./templates:/project/templates + - ./static:/project/static + - ./sass:/project/sass restart: unless-stopped edit-codicam: diff --git a/templates/base.html b/templates/base.html index b8d1efb..f2ddcf3 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,8 +3,8 @@