Skip to content
Snippets Groups Projects

Sws 21 add frontend to local env

Merged Andrew Kapuscinski requested to merge SWS-21-add-frontend-to-local-env into main
1 unresolved thread
Files
2
+ 5
0
FROM node:14.15.1-alpine3.12
# set container working directory to /code
WORKDIR /code/
# copy web app from host to container
COPY ./apps/web ./
# install dependencies
RUN apk add --no-cache \
git \
python2 \
g++ \
make
# install node_modules
RUN npm install
# start Angular development server
CMD [ "./node_modules/.bin/ng", "serve", "--host", "0.0.0.0" ]
\ No newline at end of file
Loading