From 3eb79f1293e079f8d2c448b870aa844e6238c6a3 Mon Sep 17 00:00:00 2001 From: Thomas Kosmas Date: Thu, 31 Oct 2024 17:52:38 +0200 Subject: [PATCH] Fix dockerfile --- apps/api/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile index b908f679..aa31456e 100644 --- a/apps/api/Dockerfile +++ b/apps/api/Dockerfile @@ -19,10 +19,10 @@ RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \ # Install Go FROM golang:1.19 AS go-base -COPY src/lib/go-html-to-md /app/src/lib/go-html-to-md +COPY sharedLibs/go-html-to-md /app/sharedLibs/go-html-to-md # Install Go dependencies and build parser lib -RUN cd /app/src/lib/go-html-to-md && \ +RUN cd /app/sharedLibs/go-html-to-md && \ go mod tidy && \ go build -o html-to-markdown.so -buildmode=c-shared html-to-markdown.go && \ chmod +x html-to-markdown.so