-
Notifications
You must be signed in to change notification settings - Fork 5
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
Upgrade js-yaml [CROM-6825] #736
Changes from all commits
8bb9a60
cdcf5a9
0371dfe
5abb53b
57b9d39
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
# Note: This is the dockerfile for development purposes | ||
|
||
FROM node | ||
FROM node:14 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Specify (downgrade) node version to fix C compilation errors (see here). |
||
|
||
# Install python 2, needed for npm packages | ||
RUN apt-get update && apt-get -y install python | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Explicitly install Python because otherwise it can't be found when needed during npm install. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you either leave a comment or specify explicitly in the code whether this is It is confusing (and not your fault) that package managers/OSes use the same name even if they are installed concurrently! |
||
|
||
WORKDIR /ui | ||
ADD package-lock.json package.json /ui/ | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create a volume for the below config file to be mounted into. I only 60% understand why this was needed - it's related to the fact that
ui/src
is already separately mounted in the compose file this one inherits from. Without this, the mounted config file was always empty.