tweaks
This commit is contained in:
@ -6,7 +6,8 @@ COPY shard.yml ./
|
||||
RUN mkdir src/
|
||||
COPY src/* src/
|
||||
RUN shards install
|
||||
RUN shards build
|
||||
RUN shards build -d --error-trace
|
||||
RUN strip bin/faaso-daemon
|
||||
|
||||
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine as ship
|
||||
RUN apk add tinyproxy multirun openssl zlib yaml pcre2 gc libevent libgcc
|
||||
@ -15,7 +16,7 @@ RUN apk add tinyproxy multirun openssl zlib yaml pcre2 gc libevent libgcc
|
||||
RUN addgroup -S app && adduser app -S -G app
|
||||
WORKDIR /home/app
|
||||
|
||||
COPY tinyproxy/tinyproxy.conf ./
|
||||
COPY tinyproxy.conf ./
|
||||
COPY --from=build /home/app/bin/faaso-daemon ./
|
||||
|
||||
CMD ["/usr/bin/multirun", "./faaso-daemon", "tinyproxy -d -c tinyproxy.conf"]
|
Reference in New Issue
Block a user