tildefriends/Dockerfile
Cory McWilliams 240484be4c
Some checks failed
Build Tilde Friends / Build-All (push) Failing after 23m44s
build: Fix docker build, and speed it up a bit?
2025-02-01 18:19:44 -05:00

21 lines
455 B
Docker

FROM bitnami/minideb:bookworm AS build
RUN apt-get update && \
apt-get install -y --no-install-recommends \
gcc \
libc6-dev \
perl \
make
COPY . /app
RUN make -C /app -j $(nproc) release
FROM bitnami/minideb:bookworm
COPY --from=build /app/out/release/tildefriends /app/out/release/tildefriends
COPY --from=build /app/apps /app/apps
COPY --from=build /app/core /app/core
WORKDIR /app
EXPOSE 12345
ENTRYPOINT ["/app/out/release/tildefriends"]