traefik/webui/Dockerfile
2019-10-14 17:18:04 +02:00

16 lines
219 B
Docker

FROM node:12.11
ENV WEBUI_DIR /src/webui
RUN mkdir -p $WEBUI_DIR
COPY package.json $WEBUI_DIR/
COPY package-lock.json $WEBUI_DIR/
WORKDIR $WEBUI_DIR
RUN npm install
COPY . $WEBUI_DIR/
EXPOSE 8080
RUN npm run lint