DPZC-5/dockerfile

7 lines
174 B
Plaintext
Raw Normal View History

2023-01-30 15:50:16 +01:00
FROM python:3.8
2023-01-30 10:46:15 +01:00
COPY api.py requirements.txt ./
2023-01-30 15:50:16 +01:00
RUN apt-get update
RUN apt-get install -y default-jdk
2023-01-30 10:46:15 +01:00
RUN pip install -r requirements.txt
2023-01-30 15:50:16 +01:00
EXPOSE 80:8000/tcp
CMD python api.py