web: use API as dedicated module

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-03-16 21:32:39 +01:00
parent db99225c65
commit 5f024eb1f7
68 changed files with 91 additions and 110 deletions

View File

@ -2,6 +2,7 @@ FROM node as npm-builder
COPY . /static/
ENV NODE_ENV production
RUN cd /static && npm i && npm run build
FROM nginx