Spaces:
Running
Running
fuxialexander
commited on
Commit
•
9a25e9f
1
Parent(s):
39eb195
fix dockerfile user id
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -1,10 +1,13 @@
|
|
1 |
# Use an official miniconda3 as a parent image
|
2 |
FROM mambaorg/micromamba
|
3 |
|
4 |
-
# Set the working directory in the container to /app
|
5 |
-
WORKDIR /app
|
6 |
|
|
|
|
|
|
|
7 |
|
|
|
|
|
8 |
# Create a new environment using mamba with specified packages
|
9 |
RUN micromamba install -n base -c conda-forge -c bioconda -y python=3.10 pip biopython
|
10 |
RUN micromamba install -n base -c conda-forge -c bioconda -y nglview tqdm matplotlib pandas
|
|
|
1 |
# Use an official miniconda3 as a parent image
|
2 |
FROM mambaorg/micromamba
|
3 |
|
|
|
|
|
4 |
|
5 |
+
USER root
|
6 |
+
RUN usermod -u 1000 $MAMBA_USER
|
7 |
+
USER $MAMBA_USER
|
8 |
|
9 |
+
# Set the working directory in the container to /app
|
10 |
+
WORKDIR /app
|
11 |
# Create a new environment using mamba with specified packages
|
12 |
RUN micromamba install -n base -c conda-forge -c bioconda -y python=3.10 pip biopython
|
13 |
RUN micromamba install -n base -c conda-forge -c bioconda -y nglview tqdm matplotlib pandas
|