Spaces:
Runtime error
Runtime error
| # This container is a basic web frontend, we do the heavy-lifting in the | |
| # main DiffDock-Pocket image. | |
| FROM silterra/diffdock-pocket | |
| USER $APPUSER | |
| WORKDIR $HOME/app | |
| COPY --chown=$APPUSER:$APPUSER . $HOME/app | |
| RUN ~/bin/micromamba install -n $ENV_NAME -c conda-forge -c defaults --file requirements.txt | |
| # Expose port for web service | |
| EXPOSE 7860 | |
| # Run app under micromamba environment | |
| CMD ["sh", "-c", "micromamba run -n ${ENV_NAME} python3 main.py"] | |
| # CMD ["python3", "main.py"] | |