console/Dockerfile

14 lines
268 B
Docker
Raw Permalink Normal View History

2021-01-09 09:13:34 +00:00
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" ]