initial commit

This commit is contained in:
2023-01-09 13:03:16 +01:00
commit d0c0668fad
89 changed files with 12472 additions and 0 deletions

23
front/Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
FROM node:lts-alpine
# install simple http server for serving static content
RUN npm install -g http-server
# make the 'app' folder the current working directory
WORKDIR /app
# copy both 'package.json' and 'package-lock.json' (if available)
COPY app/package*.json ./
# install project dependencies
RUN npm install
# copy project files and folders to the current working directory (i.e. 'app' folder)
COPY app/ .
# build app for production with minification
RUN npm run build
EXPOSE 4200
CMD [ "npm", "run", "ng", "serve", "--", "--host", "0.0.0.0" ]