Skip to content

Commit

Permalink
Add start scripts for QB and BB
Browse files Browse the repository at this point in the history
  • Loading branch information
FredTingaud committed Jun 27, 2020
1 parent 8f4996a commit 4d13226
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ RUN git clone https://github.com/FredTingaud/quick-bench-front-end /quick-bench/
yarn && \
yarn build

COPY ./start /quick-bench/start
COPY ./build-scripts/start-* /quick-bench/

WORKDIR /quick-bench

# ENTRYPOINT [ "/quick-bench/start" ]
2 changes: 1 addition & 1 deletion start → build-scripts/start-build-bench
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#! /bin/bash

mkdir -m 777 -p $(printf "/data/%02x " $(seq 0 255)) && /quick-bench/app-time.js
mkdir -m 777 -p $(printf "/data/%02x " $(seq 0 255)) && /quick-bench/app-build.js
3 changes: 3 additions & 0 deletions build-scripts/start-quick-bench
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/bash

mkdir -m 777 -p $(printf "/data/%02x " $(seq 0 255)) && /quick-bench/app-quick.js

0 comments on commit 4d13226

Please sign in to comment.