~starkingdoms/starkingdoms

ref: 68d7af692cb7855fe7b23dc50faa42a58bc2375f starkingdoms/api.Dockerfile -rw-r--r-- 331 bytes
68d7af69 — ghostlyzsh basic module protocol finished? 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"]