From 3ca9958ff224cf59d16b79445dd04b5779f0b07f Mon Sep 17 00:00:00 2001 From: m1ka Date: Sun, 19 Jul 2026 19:17:48 +0200 Subject: [PATCH] fix dockerfile --- Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8740c972e8a23296a4cd12710c95d3083d40f282..9d4324ccc066c9e6be2bc2cb1c617688c113e4bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,15 +5,13 @@ RUN apk add --no-cache elixir git tzdata nodejs npm RUN ln -s /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime # fetch deps -WORKDIR "/usr/local/app" -COPY pull-hljs.sh . -RUN ./pull-hljs.sh +WORKDIR /usr/local/app WORKDIR "/usr/local/app/kethel" COPY kethel ./ RUN npm i # build www.m1kadev.nl -WORKDIR "/usr/local/app" +WORKDIR /usr/local/app COPY rss ./rss COPY static ./static @@ -27,14 +25,13 @@ COPY scripts ./scripts COPY pages ./pages COPY thoughts ./thoughts -COPY .git ./ +COPY .git /.git WORKDIR "/usr/local/app/kethel" RUN mix deps.get RUN mix compile.rambo RUN mix run main.exs -- .. -WORKDIR "/usr/local/app" # [[ SERVER ]] FROM nginx:mainline AS server