Fix not including html

This commit is contained in:
Isaac Shoebottom 2024-08-22 21:05:33 -03:00
parent c148f7bb16
commit 05e6a3acc1

View File

@ -4,5 +4,6 @@ COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" . RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" .
FROM scratch FROM scratch
WORKDIR /app WORKDIR /app
COPY --from=builder /app/medication /usr/bin/ COPY --from=builder /app/index.html /app/
ENTRYPOINT ["medication"] COPY --from=builder /app/medication /app/
ENTRYPOINT ["/app/medication"]