Skip to content

Commit

Permalink
add steps to docker and environment
Browse files Browse the repository at this point in the history
  • Loading branch information
subCode321 committed Mar 7, 2025
1 parent 89a84d7 commit 64a4397
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ RUN echo "0 3 * * * /root/miniforge3/envs/streamlit-env/bin/python /app/clean-up
RUN echo "#!/bin/bash" > /app/entrypoint.sh && \
echo "source /root/miniforge3/bin/activate streamlit-env" >> /app/entrypoint.sh && \
echo "service cron start" >> /app/entrypoint.sh && \
echo "redis-server" >> /app/entrypoint.sh && \
echo "rq worker --with-scheduler -q mzml_workflow_run" >> /app/entrypoint.sh && \
echo "streamlit run app.py" >> /app/entrypoint.sh
# make the script executable
RUN chmod +x /app/entrypoint.sh
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile_simple
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ RUN echo "0 3 * * * /root/miniforge3/envs/streamlit-env/bin/python /app/clean-up
RUN echo "#!/bin/bash" > /app/entrypoint.sh
RUN echo "source /root/miniforge3/bin/activate streamlit-env" >> /app/entrypoint.sh && \
echo "service cron start" >> /app/entrypoint.sh && \
echo "redis-server" >> /app/entrypoint.sh && \
echo "rq worker --with-scheduler -q mzml_workflow_run" >> /app/entrypoint.sh && \
echo "streamlit run app.py" >> /app/entrypoint.sh
# make the script executable
RUN chmod +x /app/entrypoint.sh
Expand Down
2 changes: 2 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ dependencies:
- captcha==0.5.0
- pyopenms_viz==1.0.0
- streamlit-js-eval
- redis==5.2.1
- rq==2.1.0

0 comments on commit 64a4397

Please sign in to comment.