blob: dc70c991940607dcf529fb60f70410bb198bca1e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Dirs and mounts
CMD mkdir -p /var/db/gl && echo Created /var/db/gl
FSTAB /zroot/gl /var/db/gl nullfs rw 0 0
# Prereqs
PKG nginx yarn rust
# Download sources
CMD curl -kf http://192.168.1.50:3000/53hornet/theglassyladies/archive/master.tar.gz -o /tmp/master.tar.gz
CMD tar -xzvf /tmp/master.tar.gz -C /tmp
# Build backend
CMD cd /tmp/dichroism
CMD CARGO_HOME=/tmp cargo install --path .
# Build frontend
CMD cd /tmp/iridescence
CMD yarn build
CMD mv dist /var/www
# Config
OVERLAY usr
SYSRC nginx_enable=YES
SERVICE nginx start
|