From cb4d208c7d9a0a01039718fda116fe372eb6e030 Mon Sep 17 00:00:00 2001 From: Julian Date: Thu, 26 Jun 2025 23:46:41 -0700 Subject: [PATCH] improve dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3bbc217..e32e003 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,12 @@ FROM docker.io/sbtscala/scala-sbt:eclipse-temurin-24.0.1_9_1.11.2_3.7.1@sha256:ea5895a71c06a7eb1252e1e988d6863d0a7579fa60e4d6805bb8d4c59c5cf7ae COPY . /app -RUN apt-get update && apt-get install -y lighttpd npm +RUN apt-get update && apt-get install -y npm WORKDIR /app RUN npm install RUN npm run build +# start server +RUN apt-get install -y lighttpd COPY docker/lighttpd.conf /app/lighttpd.conf RUN mkdir -p /var/www RUN mv dist/* /var/www