traefik/webui/Dockerfile

20 lines
384 B
Text
Raw Normal View History

FROM node:14.16
# Current Active LTS release according to (https://nodejs.org/en/about/releases/)
ENV WEBUI_DIR /src/webui
ARG ARG_PLATFORM_URL=https://pilot.traefik.io
ENV PLATFORM_URL=${ARG_PLATFORM_URL}
RUN mkdir -p $WEBUI_DIR
COPY package.json $WEBUI_DIR/
2019-08-26 16:15:41 +00:00
COPY package-lock.json $WEBUI_DIR/
WORKDIR $WEBUI_DIR
2019-08-26 16:15:41 +00:00
RUN npm install
COPY . $WEBUI_DIR/
2018-04-27 11:12:04 +00:00
EXPOSE 8080
2019-08-26 16:15:41 +00:00
RUN npm run lint