add local run and save button

This commit is contained in:
2023-12-20 12:53:30 +01:00
parent 7bb7ab6f13
commit f619cc850a
11 changed files with 184 additions and 31 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
FROM node as builder
FROM node:21.4-bookworm as builder
WORKDIR "/src"
@@ -11,7 +11,7 @@ COPY . .
RUN ./compile-less.sh
RUN yarn build
FROM nginx as proxy
FROM nginx:latest as proxy
# COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=builder "/src/build" "/usr/share/nginx/html"