Spaces:
Sleeping
Sleeping
Jitesh Jain
commited on
Commit
·
57387a3
1
Parent(s):
55b6a55
Fix cocoapi
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -18,6 +18,7 @@ RUN apt-get -y install python3.8
|
|
| 18 |
RUN apt-get -y install python3-pip
|
| 19 |
RUN apt install -y python3.8-distutils
|
| 20 |
RUN apt-get install -y gcc
|
|
|
|
| 21 |
|
| 22 |
RUN useradd -ms /bin/bash admin
|
| 23 |
USER admin
|
|
@@ -50,7 +51,6 @@ RUN python3.8 -m pip install typing-extensions
|
|
| 50 |
RUN python3.8 -m pip install --upgrade setuptools
|
| 51 |
RUN python3.8 -m pip install wheel
|
| 52 |
RUN python3.8 -m pip install cython
|
| 53 |
-
RUN python3.8 -m pip install git+https://github.com/cocodataset/panopticapi.git
|
| 54 |
RUN python3.8 -m pip install --no-cache-dir --upgrade -r $WORKDIR/requirements.txt
|
| 55 |
|
| 56 |
COPY . .
|
|
|
|
| 18 |
RUN apt-get -y install python3-pip
|
| 19 |
RUN apt install -y python3.8-distutils
|
| 20 |
RUN apt-get install -y gcc
|
| 21 |
+
RUN apt-get install -y python3.8-dev
|
| 22 |
|
| 23 |
RUN useradd -ms /bin/bash admin
|
| 24 |
USER admin
|
|
|
|
| 51 |
RUN python3.8 -m pip install --upgrade setuptools
|
| 52 |
RUN python3.8 -m pip install wheel
|
| 53 |
RUN python3.8 -m pip install cython
|
|
|
|
| 54 |
RUN python3.8 -m pip install --no-cache-dir --upgrade -r $WORKDIR/requirements.txt
|
| 55 |
|
| 56 |
COPY . .
|