From c702263f908e8c203ad699741af60f605841dcd5 Mon Sep 17 00:00:00 2001 From: Cory Sanin Date: Fri, 11 Oct 2024 23:24:53 -0500 Subject: [PATCH] use debian base image --- Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 328a0cf..c4c8f89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,11 @@ -FROM oven/bun:alpine AS base +FROM oven/bun:debian AS base FROM base AS build-env WORKDIR /build -RUN apk add --no-cache make libtool autoconf automake g++ python3 py3-distutils-extra || echo 'ignoring error' +RUN apt-get update \ + && apt-get install -y --no-install-recommends make libtool autoconf automake g++ python3 python3-distutils-extra \ + && rm -rf /var/lib/apt/lists/* COPY ./package*json ./ COPY ./bun.lockb ./ @@ -13,7 +15,9 @@ FROM base AS deploy WORKDIR /usr/src/openrct2-discord HEALTHCHECK --timeout=3s \ CMD curl --fail http://localhost:3000 || exit 1 -RUN apk add --no-cache curl +RUN apt-get update \ + && apt-get install -y --no-install-recommends curl \ + && rm -rf /var/lib/apt/lists/* COPY --from=build-env /build . COPY . . USER bun