Skip to content

Commit e8fb0ea

Browse files
committed
Dockerfile cleanup
1 parent 11a324c commit e8fb0ea

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@ ENV VIRTUAL_ENV=$HOME/venv_superannotatesdk
2020
RUN python -m venv ${VIRTUAL_ENV}
2121
ENV PATH="${VIRTUAL_ENV}/bin:$PATH"
2222

23-
COPY requirements_extra.txt /tmp/
24-
25-
RUN pip install --no-cache-dir -r /tmp/requirements_extra.txt && \
26-
pip install --no-cache-dir ${PIP_FLAGS} superannotate && \
23+
RUN pip install --no-cache-dir ${PIP_FLAGS} superannotate && \
2724
pip install --no-cache-dir jupyterlab && \
2825
rm -rf /root/.cache/pip
2926

30-
CMD ["/bin/bash", "-l"]
27+
CMD ["jupyter", "lab", "--allow-root", "--NotebookApp.token=''", "--NotebookApp.password=''", "--no-browser", "--ip", "0.0.0.0"]

Dockerfile_dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1414
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
1515
RUN update-alternatives --install /usr/local/bin/pip pip /usr/bin/pip3 1
1616

17-
ENV VIRTUAL_ENV=$HOME/venv_superannotatesdk
17+
ENV VIRTUAL_ENV=$HOME/venv_superannotatesdk_dev_env
1818
RUN python -m venv ${VIRTUAL_ENV}
1919
ENV PATH="${VIRTUAL_ENV}/bin:$PATH"
2020

0 commit comments

Comments
 (0)