docker: use npm for Typescript stuff

This commit is contained in:
Trianta 2024-09-17 18:40:58 -05:00
parent b8198afd25
commit 4f6fbc4196

View File

@ -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