~starkingdoms/starkingdoms

6425d8ff12bed9ca89dfa388e21f8929114eedc3 — core 2 years ago 0d29633
fix api missing templates
1 files changed, 5 insertions(+), 0 deletions(-)

M api.Dockerfile
M api.Dockerfile => api.Dockerfile +5 -0
@@ 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