Fix getpwuid error: add UID 1000 user for k8s compatibility

This commit is contained in:
olamideomicmd.com committed 2026-03-26 15:33:25 +01:00
1 parent e172ccc453
commit f9223922db
1 file changed
+3
+3
View File
@@ -11,6 +11,9 @@ WORKDIR /opt/bioemu
RUN python3 -m pip install --upgrade pip && \
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
COPY calculate_gibbs.py /opt/bioemu/scripts/