From 4f6fbc41966d23329aed60759427043089efee2c Mon Sep 17 00:00:00 2001 From: Trianta <56975502+Trimutex@users.noreply.github.com> Date: Tue, 17 Sep 2024 18:40:58 -0500 Subject: [PATCH] docker: use npm for Typescript stuff --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3b4961f..bd10721 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,14 @@ FROM nginx:alpine +RUN apt-get update && apt-get install -y nodejs npm + WORKDIR /app COPY package*.json ./ RUN npm install -COPY . /usr/share/nginx/html +COPY . . RUN npm run build