diff --git a/.dockerignore b/.dockerignore index 383d6c8515..4084c645aa 100644 --- a/.dockerignore +++ b/.dockerignore @@ -7,7 +7,9 @@ flybase_metta.qlf ./reports/ ./reports_local/ ./venv/lib +./venv/ ./reqs/ +./.Attic !./reqs/logicmoo_utils !./reqs/predicate_streams # local development might need these changes without commiting diff --git a/Dockerfile b/Dockerfile index d428a1c4e2..eb21d10b4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,10 +3,21 @@ FROM ubuntu:22.04 # Install prerequisites ARG DEBIAN_FRONTEND=noninteractive -RUN apt update -RUN apt install -y python3 python3-pip libpython3-dev git -RUN apt install -y sudo git curl gcc cmake -RUN apt install -y python3-venv time wget vim bc dos2unix +RUN apt update && apt install -y \ + python3 \ + python3-pip \ + libpython3-dev \ + git \ + sudo \ + curl \ + gcc \ + cmake \ + python3-venv \ + time \ + wget \ + vim \ + bc \ + dos2unix # Create user ENV USER=user