docker-build re
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2022-10-20 11:58:12 +10:00
parent 6075f4bff8
commit a971dcdbc2
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,11 @@ RUN mkdir -p /app
WORKDIR /app WORKDIR /app
COPY package.json /app COPY package.json /app
RUN npm install RUN npm install
FROM build-step
WORKDIR /app
COPY . /app COPY . /app
RUN npm run build --prod RUN npm run build --prod

View File

@ -26,6 +26,7 @@ export class BoardsComponent implements OnInit {
} }
ngOnInit(): void { ngOnInit(): void {
this.listPosts();
} }