Cory McWilliams
240484be4c
Some checks failed
Build Tilde Friends / Build-All (push) Failing after 23m44s
21 lines
455 B
Docker
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"]
|