-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #488 from palladium-tms/update/angular_12
update: angular 12
- Loading branch information
Showing
8 changed files
with
6,010 additions
and
8,631 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
FROM node:16.17.1-buster | ||
|
||
RUN mkdir /palladium-view | ||
COPY . /palladium-view | ||
WORKDIR /palladium-view | ||
COPY . . | ||
|
||
RUN npm install -g @angular/cli --unsafe-perm && npm install | ||
RUN npm install | ||
RUN npm run build-aot-disable | ||
|
||
ENTRYPOINT ["ng"] | ||
CMD ["build", "--prod", "--aot=false"] | ||
CMD [ "ls", "-l", "dist" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/usr/bin/env bash | ||
docker build -t palladium_view_builder . | ||
docker run -itd --rm --name palladium_view_builder palladium_view_builder /bin/bash | ||
docker cp palladium_view_builder:/palladium-view/dist ./ | ||
docker stop palladium_view_builder | ||
docker build -t palladium_view_builder -f docker-build/Dockerfile . | ||
docker run -it --name palladium_view_builder_tmp palladium_view_builder | ||
docker cp palladium_view_builder_tmp:/palladium-view/dist . | ||
docker rm palladium_view_builder_tmp |
Oops, something went wrong.