Skip to content

Commit

Permalink
update Dockerfile-synbiohub
Browse files Browse the repository at this point in the history
  • Loading branch information
cl117 committed Sep 11, 2024
1 parent da2e80a commit 3269807
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions flask/docker/Dockerfile-synbiohub
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
FROM ubuntu:22.04
MAINTAINER Michael Zhang <[email protected]>

#Set the timezone environment variables to avoid interaction
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=America/New_York

# Install tzdata without interaction
RUN apt-get update && apt-get install -y tzdata

# Set timezone
RUN ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime && \
dpkg-reconfigure -f noninteractive tzdata

RUN apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository ppa:deadsnakes/ppa && \
apt-get update && \
apt-get install -y git python3.10 python3-pip && \
python3.10 -m pip install pip --upgrade && \
git clone https://github.com/michael13162/SBOLExplorer.git && \
apt-get install -y git cron python3.11 python3-pip python3.11-venv && \
python3.11 -m pip install pip --upgrade && \
python3.11 -m venv jammy && \
. jammy/bin/activate && \
git clone --branch change_dependencies https://github.com/SynBioDex/SBOLExplorer.git && \
cd SBOLExplorer/flask && \
pip install -r requirements.txt && \
crontab update.cron
Expand Down

0 comments on commit 3269807

Please sign in to comment.