FROM marconi.aoc.nrao.edu/ops/base:nodejs-14

# set container working directory to /code
WORKDIR /code/

# copy web app from host to container
COPY ./apps/web ./

# Disable Angular Analytics prompt
ENV NG_CLI_ANALYTICS=false

# install node_modules
RUN npm install

# start Angular development server
CMD [ "./node_modules/.bin/ng", "serve", "--host", "0.0.0.0" ]