-
Notifications
You must be signed in to change notification settings - Fork 4
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
1 parent
9193dd0
commit ee49121
Showing
13 changed files
with
32 additions
and
138 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,24 @@ | ||
FROM python:3-alpine | ||
FROM python:3.9-slim | ||
|
||
WORKDIR /app | ||
# Install dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
curl \ | ||
git \ | ||
docker.io \ | ||
docker-compose | ||
|
||
RUN python -m pip install --upgrade pip | ||
# Work Directory | ||
WORKDIR /app | ||
|
||
COPY requirements.txt . | ||
# Clean and clone updated GitHub repo | ||
RUN rm -rf /app/* && \ | ||
git clone --branch sqa https://github.com/HPCI-Lab/yProv.git . | ||
|
||
# Install requirements | ||
COPY requirements.txt /app/requirements.txt | ||
RUN pip install -r requirements.txt | ||
|
||
COPY . . | ||
|
||
ENV PORT=3000 SCHEME="bolt" ADDRESS='db:7687' | ||
|
||
EXPOSE 3000 | ||
|
||
CMD [ "python" , "./app.py" ] | ||
# Make the script_dockerfile.sh script executable and run it | ||
COPY script_dockerfile.sh /app/script_dockerfile.sh | ||
RUN chmod +x /app/script_dockerfile.sh | ||
ENTRYPOINT ["/app/script_dockerfile.sh"] |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,7 +1,2 @@ | ||
Flask==2.3.1 | ||
prov==2.0.0 | ||
prov2neo[dev] | ||
py2neo==2021.2.4 | ||
PyJWT==2.8.0 | ||
bcrypt==4.1.2 | ||
passlib==1.7.4 | ||
pytest | ||
requests |
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