From 9c1cad9147f98bf1c1e278a5198f211c4c7ad246 Mon Sep 17 00:00:00 2001 From: Korbs Date: Fri, 28 Jun 2024 01:43:16 -0400 Subject: [PATCH] Use NodeJS:Alpine image for Docker Image --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index dbdab95..55e0323 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ -FROM codeberg.org/korbs/bun:amd64 AS runtime +FROM codeberg.org/korbs/nodejs:alpine AS runtime WORKDIR /app COPY . . -RUN bun install -RUN bun run translate -RUN bun run build +RUN npm install +RUN npm run translate +RUN npm run build ENV HOST=0.0.0.0 ENV PORT=4321 EXPOSE 4321 -CMD bun ./dist/server/entry.mjs \ No newline at end of file +CMD node ./dist/server/entry.mjs \ No newline at end of file