~starkingdoms/starkingdoms

ref: 42e744a2ddba94f4b64dfb3af3b495d3b97186f4 starkingdoms/api.Dockerfile -rw-r--r-- 331 bytes
42e744a2 — ghostlyzsh yay we have thrusters oh wait did i forget to push landing thruster handling (yes, yes i did) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
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"]