Skip to content

Commit e185185

Browse files
committed
Update Dockerfile to install FMPose3D from GitHub instead of PyPI, enhancing installation process by cloning the repository and cleaning up afterwards.
1 parent c944d25 commit e185185

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ ENV PATH="/opt/conda/bin:${PATH}"
2424
# Initialize conda for root just in case and fix symlinks
2525
RUN ln -fs /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh
2626

27-
# --- Install FMPose3D from PyPI (as documented in README) ---
27+
# --- Install FMPose3D from GitHub ---
2828
RUN python -m pip install --no-cache-dir --upgrade pip && \
29-
python -m pip install --no-cache-dir "fmpose3d[animals,viz]" gdown
29+
git clone --depth 1 https://github.com/AdaptiveMotorControlLab/FMPose3D.git /tmp/fmpose3d && \
30+
python -m pip install --no-cache-dir "/tmp/fmpose3d[animals,viz]" gdown && \
31+
rm -rf /tmp/fmpose3d
3032

3133
# Allow non-root user to download DLC model weights at runtime
3234
RUN mkdir -p /opt/conda/lib/python3.11/site-packages/deeplabcut/modelzoo/checkpoints && \

0 commit comments

Comments
 (0)