-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
correct shell to install dependencies
- Loading branch information
Showing
3 changed files
with
26 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM alpine:latest | ||
MAINTAINER nicodeur <[email protected]> | ||
|
||
RUN apk update && apk add --update git nodejs nodejs-npm tar && npm install npm@latest -g && rm -rf /var/cache/apk/* | ||
|
||
RUN wget https://github.com/nicodeur/QualityDashboard/archive/1.1.0.tar.gz && tar xzvf 1.1.0.tar.gz -C /opt/qualityReport | ||
|
||
RUN cd /opt/qualityReport && chmod 755 installDependencies.sh && ./installDependencies.sh | ||
|
||
WORKDIR /opt/qualityReport | ||
|
||
CMD chmod 755 start.sh && chmod 755 front/start.sh && chmod 755 server/start.sh && chmod 755 stop.sh && chmod 755 restart.sh &&\ | ||
./start.sh && tail -f logs/server.log | ||
|
||
EXPOSE 8085 8086 |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: '2.1' | ||
services: | ||
quality-report: | ||
build: . | ||
ports: | ||
- "8085:8085" | ||
- "8086:8086" | ||
volumes: | ||
- ./localdata/log:/opt/qualityReport/log | ||
- ./localdata/conf:/opt/qualityReport/front/conf |
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