aboutsummaryrefslogtreecommitdiff
path: root/Earthfile
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-08-21 14:10:15 -0400
committerXe Iaso <me@xeiaso.net>2024-08-21 14:20:44 -0400
commit39660d978304ebce08a9200f4ef63c0013cab7ac (patch)
tree68f1b7f77e1690d5e7021cb221f454dff146905f /Earthfile
parentde3aa62dbc608ec1fbcf676275340644ed1fd031 (diff)
downloadx-39660d978304ebce08a9200f4ef63c0013cab7ac.tar.xz
x-39660d978304ebce08a9200f4ef63c0013cab7ac.zip
cmd/hdrwtch: closer to implementation
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'Earthfile')
-rw-r--r--Earthfile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Earthfile b/Earthfile
index 72cf1e3..3e82dfd 100644
--- a/Earthfile
+++ b/Earthfile
@@ -12,6 +12,8 @@ runtime:
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
+ WORKDIR /app
+
deps:
FROM golang:1.23
WORKDIR /app
@@ -189,11 +191,12 @@ xedn-static:
&& ln -s /app/static/pkg/iosevka /app/static/css/iosevka \
&& rm -f /iosevka-iaso.tgz
- COPY ./xess/dist /app/static/pkg/xess
+ COPY ./xess/dist/*.css /app/static/pkg/xess/
COPY ./xess/xess.css /app/static/css/xess.css
- COPY ./xess/xess.css /app/static/pkg/xess
+ COPY ./xess/xess.css /app/static/pkg/xess/xess.css
COPY ./xess/static/podkova.css /app/static/pkg/podkova/family.css
COPY ./xess/static/podkova.woff2 /app/static/pkg/podkova/podkova.woff2
+ RUN ln -s /app/static/pkg/podkova /app/static/css/podkova
SAVE ARTIFACT /app/static
@@ -203,8 +206,8 @@ xedn:
COPY +everything/bin/xedn /app/bin/xedn
COPY +everything/bin/uplodr /app/bin/uplodr
COPY +xedn-static/static /app/static
- CMD ["/bin/xedn"]
- ENV XEDN_STATIC=/app/static
+ CMD ["/app/bin/xedn"]
+ ENV XEDN_STATIC=/app
ENV UPLODR_BINARY=/app/bin/uplodr
LABEL org.opencontainers.image.source="https://github.com/Xe/x"