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

Authentication branch: Fix docker config #171

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sabrinaossey
Copy link
Contributor

No description provided.

Add  ARG ODTP_PATH and PIP_INSTALL_ARGS
Remove  the volume: ${APP_PATH}:/app
Copy link
Contributor

@sabinem sabinem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sabrinaossey We are already using ODTP_PATH in the code with another meaning. Therefore please use APP_PATH for mounting the app directory. Please make the suggested changes an see whether this works for you as well.

@@ -1,6 +1,8 @@
# Use Docker in Docker stable version
ARG ODTP_PATH
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename this into APP_PATH since we already have ODTP_PATH used internally in the code with an other meaning.

@@ -14,7 +15,6 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${ODTP_PATH}:${ODTP_PATH}
- ${APP_PATH}:/app
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need APP_PATH still mounted.

@@ -6,6 +6,7 @@ services:
context: .
args:
PIP_INSTALL_ARGS: ${PIP_INSTALL_ARGS}
ODTP_PATH: ${ODTP_PATH}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe this her should then be APP_PATH as well.

@sabinem sabinem changed the base branch from develop to main June 28, 2024 11:57
@sabinem sabinem changed the title Fix docker config Belongs to authentication branch: Fix docker config Jul 2, 2024
@sabinem sabinem changed the title Belongs to authentication branch: Fix docker config Authentication branch: Fix docker config Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants