Skip to content

Commit c471b59

Browse files
committed
only copy sdk, update ci build of server
1 parent 983113f commit c471b59

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ jobs:
320320
- uses: actions/checkout@v4
321321
- name: Build the Docker image
322322
run: |
323-
docker build -t basyx-python-server .
323+
docker build -t basyx-python-server -f Dockerfile ..
324324
- name: Run container
325325
run: |
326326
docker run -d --name basyx-python-server basyx-python-server

server/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ ENTRYPOINT ["/entrypoint.sh"]
4040

4141
ENV SETUPTOOLS_SCM_PRETEND_VERSION=1.0.0
4242

43-
COPY . /all
43+
COPY ./sdk /sdk
4444
COPY ./server/app /app
4545
WORKDIR /app
46-
RUN pip install ../all/sdk[dev]
46+
RUN pip install ../sdk
4747

4848
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.ini"]

0 commit comments

Comments
 (0)