-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from elephant-track/v0.6
ELEPHANT server v0.5.6 -> v0.6.0
- Loading branch information
Showing
10 changed files
with
36 additions
and
354 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
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,4 +1,4 @@ | ||
FROM nvidia/cuda:11.3.1-runtime-ubuntu20.04 | ||
FROM pytorch/pytorch:2.3.1-cuda12.1-cudnn8-runtime | ||
# Modified from https://github.com/tiangolo/uwsgi-nginx-flask-docker (Apache license) | ||
|
||
LABEL maintainer="Ko Sugawara <[email protected]>" | ||
|
@@ -21,23 +21,6 @@ RUN set -x \ | |
ENV PATH /opt/conda/bin:$PATH | ||
SHELL ["/bin/bash", "-c"] | ||
|
||
# Install Python modules | ||
COPY ./environment.yml /tmp/environment.yml | ||
RUN sed -i '/.\/elephant-core/d' /tmp/environment.yml \ | ||
&& curl -OL https://repo.continuum.io/miniconda/Miniconda3-py37_4.11.0-Linux-x86_64.sh \ | ||
&& bash Miniconda3-py37_4.11.0-Linux-x86_64.sh -bfp /opt/conda \ | ||
&& rm Miniconda3-py37_4.11.0-Linux-x86_64.sh \ | ||
&& . /opt/conda/etc/profile.d/conda.sh \ | ||
&& conda init \ | ||
&& echo "conda activate base" >> ~/.bashrc \ | ||
&& conda install -c conda-forge -y mamba=0.19.1 \ | ||
&& mamba clean -qafy \ | ||
&& mamba env update -f /tmp/environment.yml \ | ||
&& mamba clean -qafy \ | ||
&& rm -rf /tmp/elephant-core \ | ||
&& rm /tmp/environment.yml | ||
RUN mamba install jupyter | ||
|
||
# Install and set up RabbbitMQ | ||
COPY docker/install-rabbitmq.sh /tmp/install-rabbitmq.sh | ||
RUN chmod +x /tmp/install-rabbitmq.sh && /tmp/install-rabbitmq.sh && rm /tmp/install-rabbitmq.sh | ||
|
@@ -56,6 +39,9 @@ RUN groupadd -r nginx && useradd -r -g nginx nginx | |
RUN ln -sf /dev/stdout /var/log/nginx/access.log \ | ||
&& ln -sf /dev/stderr /var/log/nginx/error.log | ||
|
||
# install pypi packages | ||
COPY requirements.txt /tmp/requirements.txt | ||
RUN python -m pip install -r /tmp/requirements.txt && rm /tmp/requirements.txt | ||
# RUN pip install memory_profiler line_profiler | ||
# RUN pip install --no-deps stardist==0.8.3 csbdeep==0.7.2 numba==0.56.0 llvmlite==0.39.0 natsort==8.1.0 | ||
|
||
|
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,4 +1,4 @@ | ||
FROM elephant-server:0.5.6 | ||
FROM elephant-server:0.6.0 | ||
|
||
LABEL maintainer="Ko Sugawara <[email protected]>" | ||
|
||
|
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
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
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
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
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
Oops, something went wrong.