Spaces:
Running
Running
Commit ·
4055f3a
1
Parent(s): 30960df
update dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -5,7 +5,6 @@ WORKDIR /code
|
|
| 5 |
|
| 6 |
RUN pip install soccernet
|
| 7 |
RUN python -c "from SoccerNet.Downloader import SoccerNetDownloader; mySoccerNetDownloader = SoccerNetDownloader(LocalDirectory='data/dataset/SoccerNet'); mySoccerNetDownloader.downloadGames(files=['Labels-caption.json'], split=['train', 'valid', 'test']); mySoccerNetDownloader.downloadGames(files=['Labels-v2.json'], split=['train', 'valid', 'test'])"
|
| 8 |
-
RUN python src/database.py
|
| 9 |
|
| 10 |
COPY ./requirements.txt /code/requirements.txt
|
| 11 |
|
|
@@ -14,6 +13,9 @@ RUN pip install -r /code/requirements.txt
|
|
| 14 |
|
| 15 |
COPY . .
|
| 16 |
|
|
|
|
|
|
|
|
|
|
| 17 |
COPY ".env_demo" ".env"
|
| 18 |
|
| 19 |
RUN chmod -R 777 /code/
|
|
|
|
| 5 |
|
| 6 |
RUN pip install soccernet
|
| 7 |
RUN python -c "from SoccerNet.Downloader import SoccerNetDownloader; mySoccerNetDownloader = SoccerNetDownloader(LocalDirectory='data/dataset/SoccerNet'); mySoccerNetDownloader.downloadGames(files=['Labels-caption.json'], split=['train', 'valid', 'test']); mySoccerNetDownloader.downloadGames(files=['Labels-v2.json'], split=['train', 'valid', 'test'])"
|
|
|
|
| 8 |
|
| 9 |
COPY ./requirements.txt /code/requirements.txt
|
| 10 |
|
|
|
|
| 13 |
|
| 14 |
COPY . .
|
| 15 |
|
| 16 |
+
RUN python ./src/database.py
|
| 17 |
+
|
| 18 |
+
|
| 19 |
COPY ".env_demo" ".env"
|
| 20 |
|
| 21 |
RUN chmod -R 777 /code/
|