Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
wmanka committed Jan 7, 2024
2 parents 48c32cf + b78ff0c commit f2809c8
Show file tree
Hide file tree
Showing 36 changed files with 1,218 additions and 437 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM node:latest
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install -g @angular/cli && npm install
COPY src .
EXPOSE 4200
CMD ["ng", "serve", "--host", "0.0.0.0"]
13 changes: 11 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"schematics": {},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"prefix": "vaultr",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:application",
Expand Down Expand Up @@ -48,7 +48,13 @@
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
"sourceMap": true,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.development.ts"
}
]
}
},
"defaultConfiguration": "production"
Expand Down Expand Up @@ -91,5 +97,8 @@
}
}
}
},
"cli": {
"analytics": false
}
}
24 changes: 24 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: '3.8'

name: vaultr-ui

services:

vaultr-ui:
container_name: vaultr-ui
build: .
volumes:
- .:/usr/src/app
- /usr/src/app/node_modules
ports:
- "4200:4200"
environment:
- CHOKIDAR_USEPOLLING=true
networks:
- vaultr-net

networks:
vaultr-net:
name: vaultr-net
driver: bridge
external: true
Loading

0 comments on commit f2809c8

Please sign in to comment.