Skip to content

Commit 2d7fc7a

Browse files
authored
Add files via upload
1 parent 0c5fd98 commit 2d7fc7a

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM python:alpine
2+
3+
WORKDIR /app
4+
5+
COPY app.py /app/app.py
6+
7+
RUN mkdir /app/logs
8+
9+
RUN pip install Flask
10+
11+
EXPOSE 5000
12+
13+
CMD ["python", "app.py"]

docker-compose.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
services:
2+
web:
3+
build: .
4+
ports:
5+
- "5000:5000"
6+
volumes:
7+
- ./logs:/app/logs

0 commit comments

Comments
 (0)