Spaces:
Sleeping
Sleeping
File size: 482 Bytes
25e2e8a 6862690 f64d1b3 7fc9185 ec60126 25e2e8a ec60126 7fc9185 25e2e8a ec60126 74830dc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# 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"]
|