Skip to content

Commit 8bb59b8

Browse files
committed
Added Dockerfile for Flask app
1 parent 0fa0d27 commit 8bb59b8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

api/Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM python:3.7
2+
3+
ENV WRK_DIR /opt/dockwatch
4+
5+
RUN pip3 install \
6+
docker \
7+
Flask
8+
9+
COPY ./* ${WRK_DIR}
10+
11+
WORKDIR ${WRK_DIR}
12+
EXPOSE 5000
13+
14+
CMD [ "python", "app.py" ]

0 commit comments

Comments
 (0)