mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 07:30:12 +01:00
Merge 50f4d47e08 into 6363d5171d
This commit is contained in:
commit
5ffa002456
4 changed files with 25 additions and 1 deletions
9
.dockerignore
Normal file
9
.dockerignore
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
.git
|
||||
.gitignore
|
||||
node_modules
|
||||
npm-debug.log
|
||||
Dockerfile*
|
||||
docker-compose*
|
||||
README.md
|
||||
LICENSE
|
||||
.vscode
|
||||
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"typescript.tsdk": "./node_modules/typescript/lib",
|
||||
"tslint.enable": false
|
||||
"tslint.enable": false,
|
||||
}
|
||||
|
|
|
|||
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Stage 1
|
||||
FROM node:14.15.0 as node
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN npm install
|
||||
RUN npm run build --prod
|
||||
# Stage 2
|
||||
FROM nginx:alpine
|
||||
COPY --from=node /app/dist /usr/share/nginx/html
|
||||
|
||||
|
||||
|
|
@ -6,6 +6,10 @@
|
|||
|
||||
To install ngx-admin you have to use NodeJS version 14.14+ because of [node-sass](https://github.com/sass/node-sass) version utilized in the application.
|
||||
|
||||
# Docker
|
||||
|
||||
You can now build your own image and run it on Docker
|
||||
|
||||
# Material theme for ngx-admin
|
||||
|
||||
Material admin theme is based on the most popular Angular dashboard template - [ngx-admin](https://akveo.github.io/ngx-admin?utm_campaign=ngx_admin%20-%20home%20-%20ngx_admin%20github%20readme&utm_source=ngx_admin_material&utm_medium=referral&utm_content=github_readme)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue