Skip to content

Commit

Permalink
feat: Removed code related to dummy data
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnjau committed Nov 6, 2024
1 parent f93e07a commit 89057a1
Show file tree
Hide file tree
Showing 17 changed files with 14 additions and 916 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker/
20 changes: 12 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ RUN npm cache clean -f && npm install -g n && n stable
WORKDIR /app

# Copy everything from the local repository to the container
#COPY . .
#COPY server/ ./server/
#COPY plugins/ ./plugins/
#COPY exec/ ./exec/
#COPY coverage/ ./coverage/
#COPY .github/ ./.github
#COPY license-header.txt .
#COPY pom.xml .

COPY server/ ./server
COPY plugins/ ./plugins
COPY exec/ ./exec
COPY coverage/ ./coverage
COPY license-header.txt .
COPY pom.xml .
COPY . .

# Build the project using Maven
RUN mvn clean package -DskipTests
Expand All @@ -33,5 +34,8 @@ COPY --from=build /app/exec/target/fhir-gateway-exec.jar ./fhir-gateway-exec.jar
# Expose the application port (adjust this based on your app's configuration)
EXPOSE 8080

#ENV TOKEN_ISSUER="https://keycloak.intellisoftkenya.com/realms/master"
#ENV PROXY_TO="https://openchanjotest.intellisoftkenya.com/chanjo-hapi/fhir/"

# Run the application
ENTRYPOINT ["java", "-jar", "fhir-gateway-exec.jar"]
ENTRYPOINT java -jar fhir-gateway-exec.jar --server.port=${PROXY_PORT}
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ set -e
# set -x
export BUILD_ID=${KOKORO_BUILD_ID:-local}
#gcloud auth configure-docker us-docker.pkg.dev
./e2e-test/e2e.sh
#./e2e-test/e2e.sh
docker push us-docker.pkg.dev/fhir-proxy-build/stable/fhir-gateway:${BUILD_ID}
6 changes: 0 additions & 6 deletions docker/.env

This file was deleted.

91 changes: 0 additions & 91 deletions docker/README.md

This file was deleted.

59 changes: 0 additions & 59 deletions docker/hapi-proxy-compose.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions docker/keycloak/.env

This file was deleted.

51 changes: 0 additions & 51 deletions docker/keycloak/Dockerfile

This file was deleted.

35 changes: 0 additions & 35 deletions docker/keycloak/README.md

This file was deleted.

92 changes: 0 additions & 92 deletions docker/keycloak/config-compose.yaml

This file was deleted.

Loading

0 comments on commit 89057a1

Please sign in to comment.