jenniferzhou33 commited on
Commit
6909a4e
·
1 Parent(s): f0d1ce6

fixing permissions

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -10,7 +10,6 @@ RUN apt-get update && apt-get install -y r-base && rm -rf /var/lib/apt/lists/*
10
 
11
  # Copy your requirements.txt file into the container
12
  COPY requirements.txt /tmp/
13
- COPY others_prediction_explanation /tmp/
14
 
15
  # Install Python dependencies from requirements.txt
16
  # Note: Remove rpy2 from requirements.txt and install it here if necessary
@@ -28,13 +27,13 @@ RUN mkdir -p /opt/X11/var/cache/fontconfig && \
28
  chown -R appuser:appgroup /opt/X11/var/cache/fontconfig
29
 
30
 
31
-
32
  # Install R packages
33
  RUN R -e "install.packages('reshape2', repos='http://cran.rstudio.com/')"
34
  RUN R -e "if (!requireNamespace('BiocManager', quietly = TRUE)) install.packages('BiocManager'); BiocManager::install(c('BSgenome', 'BSgenome.Hsapiens.UCSC.hg19', 'GenomeInfoDb', 'deconstructSigs'))"
35
 
36
  # Copy the rest of your application
37
  COPY . /app
 
38
 
39
  # Set the working directory
40
  WORKDIR /app
 
10
 
11
  # Copy your requirements.txt file into the container
12
  COPY requirements.txt /tmp/
 
13
 
14
  # Install Python dependencies from requirements.txt
15
  # Note: Remove rpy2 from requirements.txt and install it here if necessary
 
27
  chown -R appuser:appgroup /opt/X11/var/cache/fontconfig
28
 
29
 
 
30
  # Install R packages
31
  RUN R -e "install.packages('reshape2', repos='http://cran.rstudio.com/')"
32
  RUN R -e "if (!requireNamespace('BiocManager', quietly = TRUE)) install.packages('BiocManager'); BiocManager::install(c('BSgenome', 'BSgenome.Hsapiens.UCSC.hg19', 'GenomeInfoDb', 'deconstructSigs'))"
33
 
34
  # Copy the rest of your application
35
  COPY . /app
36
+ RUN chmod -R 777 /app/others_prediction_explanation/
37
 
38
  # Set the working directory
39
  WORKDIR /app