deepakri201 commited on
Commit
861bd34
·
1 Parent(s): 25188f0

fixing dcm2niix

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -3
Dockerfile CHANGED
@@ -3,9 +3,9 @@ FROM python:3.10.12
3
 
4
  RUN apt-get update && apt-get install -y unzip wget
5
 
6
- RUN wget https://github.com/rordenlab/dcm2niix/releases/latest/download/dcm2niix_lnx.zip && \
7
- unzip dcm2niix_lnx.zip && \
8
- cp dcm2niix /usr/local/bin
9
 
10
  # Set up a new user named "user" with user ID 1000
11
  RUN useradd -m -u 1000 user
@@ -29,6 +29,10 @@ RUN pip install --no-cache-dir --upgrade pip
29
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
30
  COPY --chown=user . $HOME/app
31
 
 
 
 
 
32
  # Install any needed packages specified in requirements.txt
33
  RUN pip install --no-cache-dir -r requirements.txt
34
 
 
3
 
4
  RUN apt-get update && apt-get install -y unzip wget
5
 
6
+ # RUN wget https://github.com/rordenlab/dcm2niix/releases/latest/download/dcm2niix_lnx.zip && \
7
+ # unzip dcm2niix_lnx.zip && \
8
+ # cp dcm2niix /usr/local/bin
9
 
10
  # Set up a new user named "user" with user ID 1000
11
  RUN useradd -m -u 1000 user
 
29
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
30
  COPY --chown=user . $HOME/app
31
 
32
+ RUN wget https://github.com/rordenlab/dcm2niix/releases/latest/download/dcm2niix_lnx.zip && \
33
+ unzip dcm2niix_lnx.zip && \
34
+ cp dcm2niix /home/user/.local/bin
35
+
36
  # Install any needed packages specified in requirements.txt
37
  RUN pip install --no-cache-dir -r requirements.txt
38