Skip to content

Commit d18522c

Browse files
committed
Merge from develop branch
2 parents 077c06a + 23ef3fe commit d18522c

30 files changed

Lines changed: 58168 additions & 10876 deletions

.github/workflows/miner.yml

Lines changed: 0 additions & 85 deletions
This file was deleted.

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,10 @@ dmypy.json
154154

155155
# Pyre type checker
156156
.pyre/
157+
158+
# asdf files
159+
.tool-versions
160+
161+
# direnv files and environments
162+
.envrc
163+
.direnv/

.reuse/dep5

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Files:
88
docs/images/*
99
docs/usage-example-images/*
1010
.github/ISSUE_TEMPLATE/bug_report.md
11-
EXECUTIVE_SUMMARY.md
1211
README.md
1312
Copyright: 2021 Pen-Yuan Hsing
1413
License: CC-BY-SA-4.0
@@ -20,12 +19,21 @@ License: CC-BY-4.0
2019

2120
Files:
2221
CONTRIBUTING.md
23-
data/mined_data.zip
24-
input/OSH-repos.csv
2522
Copyright: 2021 Pen-Yuan Hsing
2623
License: CC-BY-4.0
2724

2825
Files:
2926
docs/images/EU_flag.svg
3027
Copyright: Council of Europe
31-
License: CC0-1.0
28+
License: CC0-1.0
29+
30+
Files:
31+
contrib/WIF_schema.json
32+
contrib/license_list.json
33+
Copyright: 2022 Pen-Yuan Hsing
34+
License: CC0-1.0
35+
36+
Files:
37+
contrib/WIF_schema.py
38+
Copyright: 2022 Pen-Yuan Hsing
39+
License: MIT

Dockerfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# SPDX-FileCopyrightText: 2021 Pen-Yuan Hsing
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
3+
4+
# Container image following Heroku recommendations:
5+
# https://devcenter.heroku.com/articles/container-registry-and-runtime#testing-an-image-locally
6+
7+
FROM python:3.10-slim-bullseye
8+
9+
WORKDIR /opt/app
10+
11+
COPY ./requirements.txt /tmp/requirements.txt
12+
13+
RUN pip install --no-cache-dir --upgrade -r /tmp/requirements.txt \
14+
&& rm /tmp/requirements.txt
15+
16+
COPY ./ /opt/app
17+
18+
# Create and use a non-root user (required by Heroku)
19+
RUN adduser --disabled-password myuser
20+
USER myuser
21+
22+
CMD uvicorn oshminer.main:app --host 0.0.0.0 --port $PORT

EXECUTIVE_SUMMARY.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)