Skip to content

[FEATURE] Run in docker#1

Open
klauste wants to merge 3 commits intomainfrom
LRN-41735/FEATURE/docker-container
Open

[FEATURE] Run in docker#1
klauste wants to merge 3 commits intomainfrom
LRN-41735/FEATURE/docker-container

Conversation

@klauste
Copy link
Owner

@klauste klauste commented Oct 10, 2023

LRN-41735

Copy link

@shtrom shtrom left a comment

Choose a reason for hiding this comment

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

No particular issue. A few nits, but should be fine otherwise.

@@ -0,0 +1,3 @@
[submodule ".project_extension"]
path = .project_extension
url = git@github.com:Learnosity/tools-common-extensions.git
Copy link

@shtrom shtrom Oct 17, 2023

Choose a reason for hiding this comment

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

When this is moved, you should use a relative path https://github.com/Learnosity/api-aiproxy/blob/main/.gitmodules#L3

Copy link

Choose a reason for hiding this comment

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

The filename is incorrect.

# If you are building your code for production
# RUN npm ci --omit=dev
# Bundle app source
COPY ../../.. .
Copy link

Choose a reason for hiding this comment

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

This is not needed for LDE, as the docker-compose file mounts the current dev code. But it also doesn't hurt.

Copy link

Choose a reason for hiding this comment

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

I'm surprised by the ../../.. bit, as the build context in the docker-compose file is . from the root https://github.com/klauste/mockai/pull/1/files#diff-05e39158df47d1d49074fef2681a1b22afa5387a51e830d708613c64b63ad0ceR18-R20

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