-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
19 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,19 +2,19 @@ FROM node:16-slim | |
|
||
RUN apt update \ | ||
&& apt install --no-install-recommends -y \ | ||
curl \ | ||
git \ | ||
python3-pip \ | ||
python3-setuptools \ | ||
python3-wheel \ | ||
Check notice Code scanning / SonarCloud Arguments in long RUN instructions should be sorted Low
Sort these package names alphanumerically. See more on SonarQube Cloud
|
||
curl | ||
|
||
RUN python3 -m pip install git+https://github.com/medic/[email protected]#egg=pyxform-medic | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& python3 -m pip install git+https://github.com/medic/[email protected]#egg=pyxform-medic | ||
|
||
WORKDIR /scripts/cht-config | ||
|
||
COPY ./ ./ | ||
|
||
RUN npm install | ||
RUN npm install -g cht-conf | ||
RUN npm install --ignore-scripts && npm install -g --ignore-scripts cht-conf | ||
|
||
CMD npm run deploy | ||
CMD ["npm", "run", "deploy"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,4 @@ RUN npm install | |
|
||
COPY ./ ./ | ||
|
||
CMD npm run configure | ||
CMD ["npm", "run", "configure"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters