Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +10 -7
Dockerfile
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
-
git clone https://github.com/heartexlabs/label-studio.git
|
| 2 |
-
cd label-studio
|
| 3 |
-
|
| 4 |
-
pip install -e .
|
| 5 |
# Run database migrations
|
| 6 |
-
python label_studio/manage.py migrate
|
| 7 |
# Collect static files
|
| 8 |
-
python label_studio/manage.py collectstatic
|
| 9 |
# Start the server in development mode at http://localhost:8080
|
| 10 |
-
python label_studio/manage.py runserver
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
RUN git clone https://github.com/heartexlabs/label-studio.git
|
| 2 |
+
RUN cd label-studio
|
| 3 |
+
RUN pip install -e .
|
|
|
|
| 4 |
# Run database migrations
|
| 5 |
+
RUN python label_studio/manage.py migrate
|
| 6 |
# Collect static files
|
| 7 |
+
RUN python label_studio/manage.py collectstatic
|
| 8 |
# Start the server in development mode at http://localhost:8080
|
| 9 |
+
RUN python label_studio/manage.py runserver
|
| 10 |
+
|
| 11 |
+
# RUN npm run build
|
| 12 |
+
EXPOSE 3000
|
| 13 |
+
CMD ["run"]
|