Render markdown files with a tool

This commit is contained in:
Zed 2022-01-09 23:14:01 +01:00
parent 1fc6a4092e
commit 8c2e0c66e2
9 changed files with 45 additions and 21 deletions

View file

@ -2,14 +2,14 @@ FROM nimlang/nim:1.6.2-alpine-regular as nim
LABEL maintainer="setenforce@protonmail.com"
EXPOSE 8080
RUN apk --no-cache add libsass-dev
RUN apk --no-cache add libsass-dev pcre
COPY . /src/nitter
WORKDIR /src/nitter
RUN nimble build -y -d:release -d:danger --passC:"-flto" --passL:"-flto" \
&& strip -s nitter \
&& nimble scss
RUN nimble build -y -d:danger -d:lto -d:strip \
&& nimble scss \
&& nimble md
FROM alpine:latest
WORKDIR /src/