-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|