CI / frontend (push) Successful in 29s
CI / server (push) Successful in 34s
CI / kiosk (push) Failing after 6m38s
Build and Publish Docker Images / build-and-push (apps/web-client/Dockerfile, pistation-web) (push) Successful in 25s
Build and Publish Docker Images / build-and-push (server/Dockerfile, pistation-server) (push) Successful in 2m29s
35 lines
784 B
Docker
35 lines
784 B
Docker
FROM rust:1-bookworm AS build
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
build-essential \
|
|
file \
|
|
libayatana-appindicator3-dev \
|
|
libgtk-3-dev \
|
|
librsvg2-dev \
|
|
libssl-dev \
|
|
libwebkit2gtk-4.1-dev \
|
|
patchelf \
|
|
pkg-config \
|
|
unzip \
|
|
wget \
|
|
xdg-utils \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
ENV BUN_INSTALL=/usr/local
|
|
RUN curl -fsSL https://bun.sh/install | bash
|
|
|
|
WORKDIR /work
|
|
ENV NODE_ENV=development
|
|
|
|
COPY package.json ./
|
|
COPY packages packages
|
|
COPY apps/kiosk-client apps/kiosk-client
|
|
|
|
RUN bun install
|
|
RUN bun run build:kiosk
|
|
|
|
FROM scratch AS bundle
|
|
COPY --from=build /work/apps/kiosk-client/src-tauri/target/release/bundle /
|