add .dockerignore & update Dockerfile
All checks were successful
Deploy Portfolio / deploy (push) Successful in 1m34s
All checks were successful
Deploy Portfolio / deploy (push) Successful in 1m34s
This commit is contained in:
12
.dockerignore
Normal file
12
.dockerignore
Normal file
@@ -0,0 +1,12 @@
|
||||
node_modules
|
||||
.git
|
||||
.gitignore
|
||||
.angular
|
||||
dist
|
||||
*.md
|
||||
.vscode
|
||||
.idea
|
||||
*.log
|
||||
npm-debug.log*
|
||||
.DS_Store
|
||||
.gitea
|
||||
@@ -8,7 +8,7 @@ WORKDIR /app
|
||||
COPY package*.json ./
|
||||
|
||||
# Install specific version of Angular CLI globally
|
||||
RUN npm install -g @angular/cli
|
||||
# RUN npm install -g @angular/cli
|
||||
|
||||
# Install project dependencies
|
||||
RUN npm ci
|
||||
|
||||
Reference in New Issue
Block a user