~mika/www.m1kadev.nl

3ca9958ff224cf59d16b79445dd04b5779f0b07f — m1ka 8 days ago ade78ed
fix dockerfile
1 files changed, 3 insertions(+), 6 deletions(-)

M Dockerfile
M Dockerfile => Dockerfile +3 -6
@@ 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