|
FROM python:3
|
|
|
|
RUN apt update && apt install -y python3-pip &&\
|
|
/usr/bin/python3 -m pip install aiohttp aiodocker docker
|
|
|
|
RUN mkdir /app
|
|
|
|
COPY ./public /app/public
|
|
COPY ./src /app/src
|
|
|
|
EXPOSE 8080
|
|
|
|
WORKDIR /app
|
|
ENTRYPOINT [ "/usr/bin/python3", "/app/src/main.py" ] |