Currently, the Dockerfile for the server expects to be called from the repository root, as all paths are relative to it:
COPY server/uwsgi.ini /etc/uwsgi/
COPY server/supervisord.ini /etc/supervisor/conf.d/supervisord.ini
COPY server/stop-supervisor.sh /etc/supervisor/stop-supervisor.sh
This is uncommon, as usually paths are given relative to the Dockerfile itself.
What makes this especially problematic, is that we are now unable to build the container from its GitHub path, as there you can only specify the path to the Dockerfile:
services:
repository:
build:
context: https://github.com/eclipse-basyx/basyx-python-sdk.git#main:server
Therefore, I strongly suggest to adapt the paths to being relative to the Dockerfile so that we can build the container directly from GitHub.
Currently, the
Dockerfilefor the server expects to be called from the repository root, as all paths are relative to it:This is uncommon, as usually paths are given relative to the
Dockerfileitself.What makes this especially problematic, is that we are now unable to build the container from its GitHub path, as there you can only specify the path to the
Dockerfile:Therefore, I strongly suggest to adapt the paths to being relative to the
Dockerfileso that we can build the container directly from GitHub.