From 05e6a3acc186cfde643e06c067e52f382cf4c120 Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Thu, 22 Aug 2024 21:05:33 -0300 Subject: [PATCH] Fix not including html --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d44f689..b366d13 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,5 +4,6 @@ COPY . . RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" . FROM scratch WORKDIR /app -COPY --from=builder /app/medication /usr/bin/ -ENTRYPOINT ["medication"] \ No newline at end of file +COPY --from=builder /app/index.html /app/ +COPY --from=builder /app/medication /app/ +ENTRYPOINT ["/app/medication"] \ No newline at end of file