From 91e87c70f09861b55e000abd7816332a948d2d2a Mon Sep 17 00:00:00 2001 From: Felix Dietze Date: Thu, 25 May 2023 15:57:16 +0400 Subject: [PATCH] alpine docker image (instead of slim) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index dfa64dd..5b910a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM node:18-slim +FROM node:18-alpine ENV NODE_ENV=production # use a proper pid 1, see https://blog.ghaiklor.com/2018/02/20/avoid-running-nodejs-as-pid-1-under-docker-images/ and https://github.com/krallin/tini # otherwise, e.g., `docker stop` will not work properly. -RUN apt update && apt install -y tini +RUN apk add tini COPY ["./cli/target/scala-2.13/scalajs-bundler/main/fun-local-env.js", "/bin/fun-local-env"]