From 6425d8ff12bed9ca89dfa388e21f8929114eedc3 Mon Sep 17 00:00:00 2001 From: core Date: Sat, 13 May 2023 20:06:42 -0400 Subject: [PATCH] fix api missing templates --- api.Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api.Dockerfile b/api.Dockerfile index 9f557e84817c088e9b28d7f85c9c2911a2073a26..d7b58a5c88345abbf0eb1075cf8957f3768d8515 100644 --- a/api.Dockerfile +++ b/api.Dockerfile @@ -2,6 +2,11 @@ FROM ghcr.io/void-linux/void-linux:latest-full-x86_64 RUN xbps-install -S && xbps-install -f base-files && xbps-install -Syyu gcc +RUN mkdir /var/www + COPY target/release/starkingdoms-api /bin/starkingdoms-api +COPY api/static/ /var/www/static +COPY api/templates /var/www/templates +WORKDIR "/var/www" CMD ["/bin/starkingdoms-api"] \ No newline at end of file