diff --git a/Dockerfile b/Dockerfile index b1b9968..2071e49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,13 @@ -FROM ubuntu:22.04 -RUN apt-get update && apt-get upgrade -y -RUN apt-get install -yqq --no-install-recommends python3 python3-pip +FROM python:3.10.4-bullseye WORKDIR /app COPY . . + +RUN apt-get update -y +RUN apt-get upgrade -y +RUN apt-get install -y cmake capnproto clang gcc build-essential RUN pip3 install -r requirements.txt -RUN chmod u+x main.py -ENTRYPOINT ["/app/main.py"] \ No newline at end of file + +VOLUME /app/config +CMD [ "python3", "main.py"] +EXPOSE 9877 \ No newline at end of file