Make things work enough for video demo

This commit is contained in:
2024-07-05 13:25:40 -03:00
parent 0ffd562cca
commit d5efd6b301
3 changed files with 18 additions and 9 deletions

View File

@ -8,6 +8,7 @@ COPY src/ src/
COPY runtimes/ runtimes/
RUN shards install
RUN shards build -d --error-trace
RUN cat .rucksack >> bin/faaso
# RUN strip bin/*
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine as ship
@ -16,6 +17,8 @@ RUN apk update && apk add caddy nss-tools multirun docker openssl zlib yaml pcre
# Unprivileged user
RUN addgroup -S app && adduser app -S -G app
WORKDIR /home/app
RUN mkdir /home/app/tmp && chown app /home/app/tmp
RUN mkdir runtimes public
COPY public/ public/