From 5737ed43cbeea7d8399aba18986552f255e79c20 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Sat, 13 Apr 2024 18:10:53 -1000 Subject: [PATCH] Change Docker container to use Alpine (without Musl) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 10a59a08..e4d6a1e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Use the official Bun image (Bun doesn't run well on Musl but this seems to work) # See all versions at https://hub.docker.com/r/oven/bun/tags -FROM imbios/bun-node:1.1.2-current-debian as base +FROM imbios/bun-node:1.1.3-current-alpine as base # Install dependencies into temp directory # This will cache them and speed up future builds @@ -26,7 +26,7 @@ WORKDIR /temp/dist # copy production dependencies and source code into final image # Alpine (musl) causes errors with Bun :( -FROM oven/bun:1.1.2-slim +FROM oven/bun:1.1.3-alpine # Create app directory RUN mkdir -p /app