mirror of
https://github.com/containous/traefik.git
synced 2024-12-23 17:34:13 +03:00
91f4ccf087
Co-authored-by: Tom Moulard <tom.moulard@traefik.io>
18 lines
291 B
Docker
18 lines
291 B
Docker
FROM node:14.16
|
|
# 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
|