Skip to content

Commit 5c91c51

Browse files
committed
added trailing slash to docker COPY command
1 parent 6b5e25f commit 5c91c51

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WORKDIR /app
88
RUN pip install --no-cache-dir poetry && poetry config virtualenvs.create false
99
# --no-cache-dir saves space in docker image
1010

11-
COPY pyproject.toml poetry.lock .
11+
COPY pyproject.toml poetry.lock ./
1212

1313
RUN poetry install -v --no-interaction --no-ansi --no-root
1414
# maybe add -v?

README.development.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,23 @@ new endpoints:
2222

2323
# Setup & Deployment
2424

25+
Config
26+
* iari_cache_dir
27+
- directory, relative to top of tree, where "cached" files are stored
28+
- default is "/json"
29+
* loglevel = logging.DEBUG
30+
* set as per deployment environment;
31+
* production should be set to ERROR
32+
* these config variables should probably not be in the global config, but rather in a top level constants context
33+
* regex_url_link_extraction
34+
* regex_url_wiki
35+
* user_agent
36+
37+
2538
Docker
2639
* IARI utilizes Docker
2740
* src/Dockerfile
28-
* src/docker-compose
41+
* src/docker-compose.yml
2942
* uses {PORT} environment variable to determine port to serve app at
3043

3144
Git

src/models/v2/analyzers/wiki_analyzer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def get_refs_from_section(section: Wikicode, hydrate=False) -> List[object]:
242242
ref is a "pointer" to another ref, a "citation" to a reference
243243
citation: place in article
244244
reference: source to link to
245-
references can have a cite_array, describing where in the article it is referenced
245+
references can have a cite_location array, describing where in the article it is referenced
246246
"""
247247

248248
return refs

0 commit comments

Comments
 (0)