forked from HumanSignal/label-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix broken docker, update docker run docs (HumanSignal#187)
- Loading branch information
Showing
3 changed files
with
26 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,10 @@ npm-debug.log | |
Dockerfile | ||
.dockerignore | ||
# build | ||
dist | ||
docs | ||
tests | ||
public | ||
label_studio.egg-info | ||
.github | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
# Building the main container | ||
FROM python:3.6-slim | ||
WORKDIR /app | ||
WORKDIR /label-studio | ||
|
||
# Copy and install requirements.txt first for caching | ||
COPY backend/requirements.txt /app/backend/ | ||
RUN pip install -r backend/requirements.txt | ||
COPY requirements.txt /label-studio | ||
RUN pip install -r requirements.txt | ||
|
||
|
||
ENV PORT="8200" | ||
|
||
COPY . /app | ||
EXPOSE ${PORT} | ||
WORKDIR /app/backend | ||
|
||
COPY . /label-studio | ||
|
||
RUN pip install -e . | ||
CMD ["/app/scripts/run-demo.sh", "image_bbox"] | ||
CMD ["label-studio", "start", "new_project", "--init"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters