Skip to content

server: Dockerfile expects to be run from repository root #386

@s-heppner

Description

@s-heppner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingserverSomething to do with the `server` package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions