diff --git a/Dockerfile b/Dockerfile index 213b2420a6f..6bc38b9bab5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu as base ENV TZ=Etc/UTC RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone -RUN apt-get update && apt-get install --yes python3 pip pkg-config libsystemd-dev +RUN apt-get update && apt-get install --yes python3 pip pkg-config libsystemd-dev git FROM base as builder COPY scripts scripts @@ -9,6 +9,9 @@ COPY LICENSE LICENSE COPY shared-data shared-data +COPY server-utils/setup.py server-utils/setup.py +COPY server-utils/server_utils server-utils/server_utils + COPY api/MANIFEST.in api/MANIFEST.in COPY api/setup.py api/setup.py COPY api/pypi-readme.rst api/pypi-readme.rst @@ -18,6 +21,7 @@ COPY robot-server/setup.py robot-server/setup.py COPY robot-server/robot_server robot-server/robot_server RUN cd shared-data/python && python3 setup.py bdist_wheel -d /dist/ +RUN cd server-utils && python3 setup.py bdist_wheel -d /dist/ RUN cd api && python3 setup.py bdist_wheel -d /dist/ RUN cd robot-server && python3 setup.py bdist_wheel -d /dist/