Skip to content

Commit 440a3dc

Browse files
committed
test
1 parent 3628ad8 commit 440a3dc

File tree

3 files changed

+26
-4
lines changed

3 files changed

+26
-4
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Build Image and Push to Quay
2+
3+
on: push
4+
5+
jobs:
6+
ci:
7+
name: Build Image and Push to Quay
8+
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master
9+
with:
10+
OVERRIDE_REPO_NAME: "ohif-viewer"
11+
BUILD_PLATFORMS: "linux/amd64"
12+
secrets:
13+
ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
14+
ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
15+
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
16+
QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
repos:
2+
- repo: git@github.com:Yelp/detect-secrets
3+
rev: v0.13.1
4+
hooks:
5+
- id: detect-secrets
6+
args: ['--baseline', '.secrets.baseline']

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ RUN bun install
7070
# After install it should hopefully be stable until the local directory changes
7171
ENV QUICK_BUILD true
7272
# ENV GENERATE_SOURCEMAP=false
73-
ARG APP_CONFIG=config/default.js
74-
ARG PUBLIC_URL=/
73+
ARG APP_CONFIG=/etc/ohif/app-config.js
74+
ARG PUBLIC_URL=/ohif-viewer/
7575

7676
RUN bun run show:config
7777
RUN bun run build
@@ -84,9 +84,9 @@ RUN ./.docker/compressDist.sh
8484
# which runs Nginx using Alpine Linux
8585
FROM nginxinc/nginx-unprivileged:1.27-alpine as final
8686
#RUN apk add --no-cache bash
87-
ARG PORT=80
87+
ARG PORT=8080
8888
ENV PORT=${PORT}
89-
ARG PUBLIC_URL=/
89+
ARG PUBLIC_URL=/ohif-viewer/
9090
ENV PUBLIC_URL=${PUBLIC_URL}
9191
RUN rm /etc/nginx/conf.d/default.conf
9292
USER nginx

0 commit comments

Comments
 (0)