init testing dockerfile
This commit is contained in:
parent
34f28f8e84
commit
dc9d5a8e72
7
.dockerignore
Normal file
7
.dockerignore
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
*ignore*
|
||||||
|
*.log
|
||||||
|
log.*
|
||||||
|
*.old
|
||||||
|
old.*
|
||||||
|
.*
|
||||||
|
scripts/
|
13
dockerfile
Normal file
13
dockerfile
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Use an old version to test compatibility
|
||||||
|
FROM python:3.7
|
||||||
|
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
RUN pip install poetry
|
||||||
|
COPY pyproject.toml README.md LICENSE ./
|
||||||
|
COPY spip2md/ spip2md.yml ./
|
||||||
|
RUN poetry shell
|
||||||
|
RUN poetry install
|
||||||
|
|
||||||
|
CMD [ "poetry shell" ]
|
||||||
|
CMD [ "spip2md" ]
|
15
poetry.lock
generated
15
poetry.lock
generated
@ -103,6 +103,17 @@ files = [
|
|||||||
{file = "text_unidecode-1.3-py2.py3-none-any.whl", hash = "sha256:1311f10e8b895935241623731c2ba64f4c455287888b18189350b67134a822e8"},
|
{file = "text_unidecode-1.3-py2.py3-none-any.whl", hash = "sha256:1311f10e8b895935241623731c2ba64f4c455287888b18189350b67134a822e8"},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "typing-extensions"
|
||||||
|
version = "4.6.3"
|
||||||
|
description = "Backported and Experimental Type Hints for Python 3.7+"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
files = [
|
||||||
|
{file = "typing_extensions-4.6.3-py3-none-any.whl", hash = "sha256:88a4153d8505aabbb4e13aacb7c486c2b4a33ca3b3f807914a9b4c844c471c26"},
|
||||||
|
{file = "typing_extensions-4.6.3.tar.gz", hash = "sha256:d91d5919357fe7f681a9f2b5b4cb2a5f1ef0a1e9f59c4d8ff0d3491e05c0ffd5"},
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "unidecode"
|
name = "unidecode"
|
||||||
version = "1.3.6"
|
version = "1.3.6"
|
||||||
@ -116,5 +127,5 @@ files = [
|
|||||||
|
|
||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.0"
|
lock-version = "2.0"
|
||||||
python-versions = "^3.9"
|
python-versions = "^3.10"
|
||||||
content-hash = "b2f6a06875c1c40404e891bf9765fab11ecf7fbf04a486962c27f71b3084857a"
|
content-hash = "0bfb6e7994de7f053afb14ff957e88f751f60339e05660d96e34a184278b8c47"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "spip2md"
|
name = "spip2md"
|
||||||
version = "0.0.1"
|
version = "0.1.0"
|
||||||
description = "Generate a static website with plain Markdown+YAML files from a SPIP CMS database"
|
description = "Generate a static website with plain Markdown+YAML files from a SPIP CMS database"
|
||||||
license = "GPL-2.0"
|
license = "GPL-2.0"
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ repository = "https://git.irsamc.ups-tlse.fr/gfaure/spip-db-2-md"
|
|||||||
keywords = ["Markdown", "Static website", "SPIP", "Converter", "Exporter"]
|
keywords = ["Markdown", "Static website", "SPIP", "Converter", "Exporter"]
|
||||||
|
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 3 - Alpha",
|
||||||
"Environment :: Console",
|
"Environment :: Console",
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
|
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
|
||||||
@ -27,6 +27,7 @@ pyyaml = "^6.0"
|
|||||||
python-slugify = {extras = ["unidecode"], version = "^8.0.1"}
|
python-slugify = {extras = ["unidecode"], version = "^8.0.1"}
|
||||||
pymysql = "^1.0.3"
|
pymysql = "^1.0.3"
|
||||||
peewee = "^3.16.2"
|
peewee = "^3.16.2"
|
||||||
|
typing-extensions = "^4.6.3"
|
||||||
|
|
||||||
[tool.poetry.scripts]
|
[tool.poetry.scripts]
|
||||||
spip2md = "spip2md.lib:cli"
|
spip2md = "spip2md.lib:cli"
|
||||||
|
Loading…
Reference in New Issue
Block a user