working dockerfile

This commit is contained in:
Adrian Charkiewicz 2023-02-15 22:24:33 +01:00
parent 5543c96999
commit 03f7dc6471
1 changed files with 7 additions and 0 deletions

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM python:3.8
COPY api.py requirements.txt ./
RUN apt-get update
RUN apt-get install -y default-jdk
RUN pip install -r requirements.txt
EXPOSE 80:8000/tcp
CMD python api.py