Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add args and platform to run it locally in arm #611

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion forms-flow-ai/forms-flow-ai-ee/forms-flow-bpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ COPY ./processes /tmp/src/main/resources/processes
RUN mvn -s /usr/share/maven/ref/settings-docker.xml package -P default

# Final custom slim java image (for apk command see 17-jdk-alpine-slim)
FROM openjdk:17-jdk-alpine
FROM --platform=linux/x86_64 openjdk:17-jdk-alpine

ENV JAVA_VERSION=17-ea+14
ENV JAVA_HOME=/opt/java/openjdk-17\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ services:
build:
context: ./
dockerfile: Dockerfile
args:
- ssh_prv_key=${SSH_PRV_KEY}
- ssh_pub_key=${SSH_PUB_KEY}
restart: always
links:
- forms-flow-bpm-db
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ services:
- MF_FORMSFLOW_ADMIN_URL=${MF_FORMSFLOW_ADMIN_URL:-https://forms-flow-microfrontends.aot-technologies.com/[email protected]/forms-flow-admin.gz.js}
- MF_FORMSFLOW_THEME_URL=${MF_FORMSFLOW_THEME_URL:-https://forms-flow-microfrontends.aot-technologies.com/[email protected]/forms-flow-theme.gz.js}
- NODE_ENV=${NODE_ENV:-production}
- ssh_prv_key=${SSH_PRV_KEY}
- ssh_pub_key=${SSH_PUB_KEY}
entrypoint: /bin/sh -c "/usr/share/nginx/html/config/env.sh && nginx -g 'daemon off;'"
environment:
- NODE_ENV=${NODE_ENV:-production}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ services:
build:
context: .
dockerfile: Dockerfile
args:
- ssh_prv_key=${SSH_PRV_KEY}
- ssh_pub_key=${SSH_PUB_KEY}
ports:
- "3004:8080"
tty: true
Loading