docker: use npm for Typescript stuff
This commit is contained in:
parent
b8198afd25
commit
4f6fbc4196
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user