mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-25 00:19:07 +08:00
* Add Tunnel indicator to IP Address cell * E ref and dist addesses #2751
20 lines
424 B
Docker
20 lines
424 B
Docker
FROM node:8.11.2-slim
|
|
|
|
# Fixes jessie repository
|
|
RUN sed -i '/jessie-updates/d' /etc/apt/sources.list
|
|
|
|
RUN apt-get update && apt-get install git -y && apt-get install -y python python-dev python-pip
|
|
|
|
RUN npm i npm@6.4.1 -g
|
|
|
|
# prepare to install only package.json dependencies
|
|
RUN mkdir -p /app
|
|
COPY package*.json /app/
|
|
|
|
# copy the rest of the app files
|
|
WORKDIR /app
|
|
RUN npm install
|
|
COPY . /app
|
|
|
|
# and build
|
|
RUN npm run build |