Fix getpwuid error: add UID 1000 user for k8s compatibility
This commit is contained in:
@@ -11,6 +11,9 @@ WORKDIR /opt/bioemu
|
|||||||
RUN python3 -m pip install --upgrade pip && \
|
RUN python3 -m pip install --upgrade pip && \
|
||||||
pip install --no-cache-dir bioemu mdtraj scikit-learn pandas matplotlib seaborn
|
pip install --no-cache-dir bioemu mdtraj scikit-learn pandas matplotlib seaborn
|
||||||
|
|
||||||
|
# Add user entry for UID 1000 (k8s default) to avoid getpwuid errors
|
||||||
|
RUN useradd -u 1000 -m -s /bin/bash nextflow || true
|
||||||
|
|
||||||
RUN mkdir -p /opt/bioemu/scripts/ /data /results && chmod -R 777 /data /results
|
RUN mkdir -p /opt/bioemu/scripts/ /data /results && chmod -R 777 /data /results
|
||||||
|
|
||||||
COPY calculate_gibbs.py /opt/bioemu/scripts/
|
COPY calculate_gibbs.py /opt/bioemu/scripts/
|
||||||
|
|||||||
Reference in New Issue
Block a user