mirror of
https://github.com/containous/traefik.git
synced 2024-12-23 17:34:13 +03:00
7adffdbd78
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
20 lines
333 B
Docker
20 lines
333 B
Docker
FROM node:5.4
|
|
|
|
ENV WEBUI_DIR /src/webui
|
|
RUN mkdir -p $WEBUI_DIR
|
|
|
|
RUN npm install -g gulp bower
|
|
|
|
COPY package.json $WEBUI_DIR/
|
|
COPY .bowerrc $WEBUI_DIR/
|
|
COPY bower.json $WEBUI_DIR/
|
|
|
|
WORKDIR $WEBUI_DIR
|
|
RUN npm set progress=false
|
|
RUN npm install --quiet
|
|
RUN bower install --allow-root --quiet
|
|
|
|
COPY . $WEBUI_DIR/
|
|
|
|
EXPOSE 3000 3001 8080
|