traefik/webui/Dockerfile
Kevin Pollet 7b477f762a
Upgrade to node 22.9 and yarn lock to fix vulnerabilities
Co-authored-by: Romain <rtribotte@users.noreply.github.com>
2024-10-08 17:52:04 +02:00

17 lines
301 B
Docker

FROM node:22.9-alpine3.20
# Current Active LTS release according to (https://nodejs.org/en/about/releases/)
ENV WEBUI_DIR=/src/webui
RUN mkdir -p $WEBUI_DIR
COPY package.json $WEBUI_DIR/
COPY yarn.lock $WEBUI_DIR/
WORKDIR $WEBUI_DIR
RUN yarn install
COPY . $WEBUI_DIR/
EXPOSE 8080
RUN yarn lint