-
Notifications
You must be signed in to change notification settings - Fork 18
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 #25 from sharmalab/develop
TCIA Update Release
- Loading branch information
Showing
51 changed files
with
1,615 additions
and
2,344 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Buildah via Dockerfile | ||
on: [push] | ||
|
||
jobs: | ||
build: | ||
name: Build image | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Buildah Action | ||
uses: redhat-actions/[email protected] | ||
with: | ||
image: eaglescope-edge | ||
tags: v1 ${{ github.sha }} | ||
dockerfiles: | | ||
./Dockerfile |
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
.vscode/ | ||
.cache/ | ||
node_modules/ | ||
dist/ | ||
build | ||
.DS_Store | ||
*.tgz | ||
|
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,17 +1,25 @@ | ||
from node:8-alpine | ||
|
||
RUN npm config set unsafe-perm true | ||
RUN npm install -g http-server | ||
RUN npm install -g parcel-bundler | ||
EXPOSE 80 | ||
EXPOSE 1180 | ||
RUN mkdir -p /source/ | ||
COPY ./ /source/ | ||
WORKDIR /source/ | ||
RUN rm -rf ./.git/ | ||
|
||
RUN npm install | ||
RUN npm run-script build | ||
RUN mkdir -p /var/www/html/ | ||
RUN mv /source/dist/* /var/www/html | ||
RUN mv /source/treemap /var/www/html | ||
RUN mv /source/data /var/www/html | ||
RUN cp -r /source/config /var/www/html | ||
WORKDIR /var/www/html/ | ||
|
||
CMD http-server -p 80 | ||
RUN chgrp -R 0 /var/www/html/ | ||
RUN chmod -R g+rwX /var/www/html/ | ||
|
||
USER 1001 | ||
|
||
CMD http-server -p 1180 |
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
Oops, something went wrong.