Skip to content

Commit 34a2dd8

Browse files
committed
update dockerfile
1 parent 1f8b857 commit 34a2dd8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

label_studio_ml/examples/segment_anything_2_image/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ RUN --mount=type=cache,target=${PIP_CACHE_DIR},sharing=locked \
4444
pip3 install -e .
4545
RUN cd checkpoints && ./download_ckpts.sh
4646

47-
WORKDIR /app
47+
WORKDIR /sam2
4848

4949
# install test requirements if needed
5050
COPY requirements-test.txt .
@@ -56,6 +56,5 @@ RUN --mount=type=cache,target=${PIP_CACHE_DIR},sharing=locked \
5656

5757
COPY . ./
5858

59-
WORKDIR ../sam2
6059

6160
CMD ["../app/start.sh"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

33
# Execute the gunicorn command
4-
exec gunicorn --bind :${PORT:-9090} --workers ${WORKERS:-1} --threads ${THREADS:-4} --timeout 0 ./_wsgi:app
4+
exec gunicorn --bind :${PORT:-9090} --workers ${WORKERS:-1} --threads ${THREADS:-4} --timeout 0 _wsgi:app

0 commit comments

Comments
 (0)