traefik/webui/Dockerfile

18 lines
301 B
Text
Raw Permalink Normal View History

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/
2018-04-27 11:12:04 +00:00
EXPOSE 8080
RUN yarn lint