DiffDock-Web / Dockerfile
silterra's picture
Precompute SO(2) and SO(3) series during container build
d134c1d
# This container is a basic web frontend, we do the heavy-lifting in the
# main DiffDock image.
FROM rbgcsail/diffdock
USER $APPUSER
WORKDIR $HOME/$DIR_NAME
# Expose port for web service
EXPOSE 7860
# Precompute series for SO(2) and SO(3) groups
RUN micromamba run -n ${ENV_NAME} python utils/precompute_series.py
# Run app under micromamba environment
CMD ["sh", "-c", "micromamba run -n ${ENV_NAME} python3 app/main.py"]