Dockerfile 279 Bytes
Newer Older
Karl's avatar
Karl committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
FROM node:10

RUN npm i -g @angular/cli

RUN useradd --user-group --create-home --shell /bin/false xtee

ENV HOME=/home/xtee

COPY . $HOME/xtss-catalogue/

RUN chown -R xtee:xtee $HOME/*

USER xtee

WORKDIR $HOME/xtss-catalogue

RUN npm ic

CMD ["ng","serve","--host", "0.0.0.0"]