Commit 914fb645 authored by Karl's avatar Karl

Hello Docker

parent 78d31ca6
Pipeline #16 failed with stages
node_modules
npm-debug.log
\ No newline at end of file
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"]
\ No newline at end of file
version: '3'
services:
catalogue:
build: .
ports:
- "4200:4200"
volumes:
- .:/home/app/xtss-catalogue
- /home/app/xtss-catalogue/node_modules
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment