This repository was archived by the owner on Sep 15, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +35
-3
lines changed Expand file tree Collapse file tree 2 files changed +35
-3
lines changed Original file line number Diff line number Diff line change 1
1
FROM victorbalssa/tflearn-nltk:latest
2
2
MAINTAINER victorbalssa <
[email protected] >
3
3
4
- # RUN apt-get update \
5
- # && apt-get dist-upgrade
4
+ RUN apt-get update -y \
5
+ && apt-get dist-upgrade -y
6
6
ADD ./requirements.txt /bot/requirements.txt
7
7
WORKDIR /bot
8
8
RUN pip install -r requirements.txt
9
+ # fixture mongo (dev)
9
10
EXPOSE 5000
10
- CMD /usr/bin/python2.7 api.py
11
+ CMD /usr/bin/python2.7 fixture.py && /usr/bin/python2.7 api.py
11
12
# CMD tail -f /dev/null
Original file line number Diff line number Diff line change
1
+ {
2
+ "config" : [
3
+ {
4
+ "url" : " " ,
5
+ "name" : " open_shutter" ,
6
+ "type" : " api" ,
7
+ "success" : " Shutters are open !" ,
8
+ "error" : " hum, can't switch on kitchen light, maybe error config ?"
9
+ },
10
+ {
11
+ "url" : " " ,
12
+ "name" : " close_shutter" ,
13
+ "type" : " api" ,
14
+ "success" : " Shutters are close !" ,
15
+ "error" : " hum, can't switch on light, maybe error config ?"
16
+ },
17
+ {
18
+ "url" : " http://localhost/api/test" ,
19
+ "name" : " stop_shutter" ,
20
+ "type" : " api" ,
21
+ "success" : " Shutter are stop" ,
22
+ "error" : " hum, can't switch on light, maybe error config ?"
23
+ },
24
+ {
25
+ "url" : " http://localhost/api/test" ,
26
+ "name" : " camera_photo" ,
27
+ "type" : " api" ,
28
+ "error" : " hum, can't take photo ! try again later"
29
+ }
30
+ ]
31
+ }
You can’t perform that action at this time.
0 commit comments