diff --git a/app/vmui/Dockerfile-build b/app/vmui/Dockerfile-build index 9c50fbf35..ecc635f71 100644 --- a/app/vmui/Dockerfile-build +++ b/app/vmui/Dockerfile-build @@ -1,10 +1,11 @@ -FROM node:18-alpine3.17 +FROM node:20-alpine3.19 # Sets a custom location for the npm cache, preventing access errors in system directories ENV NPM_CONFIG_CACHE=/build/.npm -RUN apk update && apk upgrade -RUN apk add --no-cache bash bash-doc bash-completion libtool autoconf automake nasm pkgconfig libpng gcc make g++ zlib-dev gawk +RUN apk update && \ + apk upgrade && \ + apk add --no-cache bash bash-doc bash-completion libtool autoconf automake nasm pkgconfig libpng gcc make g++ zlib-dev gawk && \ + mkdir -p /app -RUN mkdir -p /app WORKDIR /app diff --git a/app/vmui/Dockerfile-web b/app/vmui/Dockerfile-web index 529801c1e..f54841860 100644 --- a/app/vmui/Dockerfile-web +++ b/app/vmui/Dockerfile-web @@ -14,5 +14,5 @@ COPY --from=build-web-stage /build/web-windows /app/web-windows RUN adduser -S -D -u 1000 web && chown -R web /app USER web -EXPOSE 8080 + ENTRYPOINT ["/app/web"]