12 lines
265 B
Docker
12 lines
265 B
Docker
|
FROM python:3
|
||
|
ENV DOCKER_APP True
|
||
|
WORKDIR /app
|
||
|
|
||
|
RUN git clone https://git.wmi.amu.edu.pl/s415366/pbr-ayct-core
|
||
|
COPY . .
|
||
|
RUN chmod u+x setup_core.sh
|
||
|
RUN bash setup_core.sh
|
||
|
RUN pip3 install -r requirements.txt
|
||
|
EXPOSE 5000/udp
|
||
|
EXPOSE 5000/tcp
|
||
|
CMD ["python3", "app.py"]
|