add docker image building

This commit is contained in:
Denys Klymenko 2022-03-04 21:20:24 +02:00
parent ace226abdf
commit 8b735cd512
2 changed files with 11 additions and 0 deletions

2
.github/workflows/docker-image.yml vendored Normal file
View File

@ -0,0 +1,2 @@
- name: Build and push Docker images
uses: docker/build-push-action@v2.9.0

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM python:3.8.12-buster
WORKDIR /app
COPY ./ ./
COPY files files
RUN pip3 install -r requirements.txt
ENTRYPOINT ["python3", "/app/start.py"]