-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add venv's to a number of dockerfiles
- Loading branch information
1 parent
3e0e1dd
commit ae02ff8
Showing
10 changed files
with
56 additions
and
39 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
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
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
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
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
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,12 +1,13 @@ | ||
FROM ubuntu:latest | ||
|
||
RUN apt update && \ | ||
DEBIAN_FRONTEND="noninteractive" apt install -y python3-pip | ||
|
||
RUN pip3 install umbridge cuqipy | ||
|
||
COPY . /server | ||
|
||
WORKDIR /server | ||
|
||
CMD python3 server.py | ||
RUN apt update && \ | ||
DEBIAN_FRONTEND="noninteractive" apt install -y python3-pip python3-venv && \ | ||
python3 -m venv venv && \ | ||
. venv/bin/activate && \ | ||
pip install umbridge cuqipy | ||
|
||
CMD . venv/bin/activate && python3 server.py |
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,12 +1,13 @@ | ||
FROM ubuntu:latest | ||
|
||
RUN apt update && \ | ||
DEBIAN_FRONTEND="noninteractive" apt install -y python3-pip | ||
|
||
RUN pip3 install umbridge cuqipy | ||
|
||
COPY . /server | ||
|
||
WORKDIR /server | ||
|
||
CMD python3 server.py | ||
RUN apt update && \ | ||
DEBIAN_FRONTEND="noninteractive" apt install -y python3-pip python3-venv && \ | ||
python3 -m venv venv && \ | ||
. venv/bin/activate && \ | ||
pip install umbridge cuqipy | ||
|
||
CMD . venv/bin/activate && python3 server.py |
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,12 +1,13 @@ | ||
FROM ubuntu:latest | ||
|
||
RUN apt update && \ | ||
DEBIAN_FRONTEND="noninteractive" apt install -y python3-pip | ||
|
||
RUN pip3 install umbridge cuqipy | ||
|
||
COPY . /server | ||
|
||
WORKDIR /server | ||
|
||
CMD python3 server.py | ||
RUN apt update && \ | ||
DEBIAN_FRONTEND="noninteractive" apt install -y python3-pip python3-venv && \ | ||
python3 -m venv venv && \ | ||
. venv/bin/activate && \ | ||
pip install umbridge cuqipy | ||
|
||
CMD . venv/bin/activate && python3 server.py |
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
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