From d68836ffa702c3cac3b52b0e1cacbe48c383f5a8 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Wed, 19 Jun 2024 16:47:17 -1000 Subject: [PATCH] revert: :rewind: Revert previous commit, switch Dockerfile back to Nodejs --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 64e82c7..134496a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM oven/bun:1.1.14-alpine AS base +FROM imbios/bun-node:21-alpine AS base # Install dependencies into temp directory # This will cache them and speed up future builds @@ -12,9 +12,9 @@ FROM base AS builder COPY . /app COPY --from=install /temp/dev/node_modules /app/node_modules -RUN cd /app && bun run build +RUN cd /app && bun run build --preset node-server -FROM oven/bun:1.1.14-alpine as final +FROM node:21-alpine as final COPY --from=builder /app/.output/ /app