refactor: move app to monorepo

This commit is contained in:
2023-03-14 17:05:09 +01:00
parent 2f65ebf57f
commit 54ed0a2f27
775 changed files with 89 additions and 156 deletions

View File

@@ -0,0 +1,20 @@
# Creates a docker image with only the app as an executable unit
# Dependencies need to be installed beforehand
# Needs to be build beforehand
# docker build -t registry.gitlab.com/openstapps/app/executable:core-x.y -f Dockerfile.Executable .
FROM node:14-alpine
WORKDIR /app
COPY . /app
# To use ng directly
ENV PATH /app/node_modules/.bin:$PATH
EXPOSE 8100
# Because the dependencies were installed from the builder-Image,
# or locally, we need to rebuild node-sass library
RUN npm rebuild node-sass
# Starts the app
CMD ng run app:serve --host=0.0.0.0 --port=8100