mirror of
https://github.com/containous/traefik.git
synced 2025-03-14 00:58:23 +03:00
Co-authored-by: Fernandez Ludovic <[ldez@users.noreply.github.com](mailto:ldez@users.noreply.github.com)>
20 lines
374 B
Docker
20 lines
374 B
Docker
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/
|
|
COPY yarn.lock $WEBUI_DIR/
|
|
|
|
WORKDIR $WEBUI_DIR
|
|
RUN yarn install
|
|
|
|
COPY . $WEBUI_DIR/
|
|
|
|
EXPOSE 8080
|
|
|
|
RUN yarn lint
|