This commit is contained in:
parent
6075f4bff8
commit
a971dcdbc2
@ -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
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ export class BoardsComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
|
this.listPosts();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user