File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 14
14
(github.event.pull_request.head.repo.full_name != github.repository && github.event_name == 'pull_request_target')
15
15
uses : product-os/flowzone/.github/workflows/flowzone.yml@master
16
16
secrets : inherit
17
- with : {}
Original file line number Diff line number Diff line change 1
1
FROM balenalib/%%RESIN_MACHINE_NAME%%-alpine:latest
2
2
3
- RUN apk update && apk add bash py-pip lockfile-progs --no-cache && \
3
+ WORKDIR /usr/src/app
4
+
5
+ RUN apk update && apk add bash python3 lockfile-progs --no-cache && \
6
+ python3 -m venv venv && \
7
+ source venv/bin/activate && \
4
8
pip install --upgrade pip && \
5
9
pip install flask
6
10
7
- WORKDIR /usr/src/app
8
-
9
11
COPY . ./
10
12
11
13
CMD ["bash", "start.sh"]
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
+
3
+ source venv/bin/activate
4
+
2
5
python server.py &
3
6
for (( i= 1 ;i<= 5 ;i++ )) ;
4
7
do
You can’t perform that action at this time.
0 commit comments