dockerization

This commit is contained in:
Matěj Divecký 2023-03-05 19:31:31 +01:00
parent 09011a23ee
commit dadab87195
11 changed files with 15 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
__pycache__

4
Dockerfile Normal file
View file

@ -0,0 +1,4 @@
FROM python:3.9.1
ADD . /app
WORKDIR /app
RUN pip install -r requirements.txt

View file

10
docker-compose.yml Normal file
View file

@ -0,0 +1,10 @@
version: "3.8"
services:
app:
build: .
command: python app.py
ports:
- "5000:5000"
volumes:
- .:/app
container_name: trhlina-bar