DiffDock-Pocket-Web / Dockerfile
silterra's picture
Install gradio in this image, instead of base DiffDock-Pocker image.
25e2e8a
raw
history blame contribute delete
482 Bytes
# 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"]