Compare commits
2 commits
cc362e5ceb
...
4cc69a4d29
Author | SHA1 | Date | |
---|---|---|---|
|
4cc69a4d29 | ||
|
3e91e04bfe |
2 changed files with 23 additions and 14 deletions
11
Dockerfile
11
Dockerfile
|
@ -1,7 +1,11 @@
|
||||||
FROM python:3.9
|
FROM python:3.9
|
||||||
|
|
||||||
|
# TODO manually compile ffmpeg, to prevent useless deps and decrease build size
|
||||||
|
# for that, see here: https://stackoverflow.com/questions/53944487/how-to-install-ffmpeg-in-a-docker-container
|
||||||
|
# pin ffmpeg version to prevent issues down the road
|
||||||
|
RUN apt-get update && apt-get -y install ffmpeg=7:4.3.*
|
||||||
|
|
||||||
RUN mkdir /app
|
RUN mkdir /app
|
||||||
COPY /app /app
|
|
||||||
COPY pyproject.toml /app
|
COPY pyproject.toml /app
|
||||||
COPY poetry.lock /app
|
COPY poetry.lock /app
|
||||||
|
|
||||||
|
@ -11,4 +15,9 @@ RUN pip3 install poetry
|
||||||
RUN poetry config virtualenvs.create false
|
RUN poetry config virtualenvs.create false
|
||||||
RUN poetry install --no-dev
|
RUN poetry install --no-dev
|
||||||
|
|
||||||
|
# copy files as late as possible, these change the most
|
||||||
|
# forcing a rerun of all layers
|
||||||
|
COPY /app /app
|
||||||
|
|
||||||
|
|
||||||
ENTRYPOINT poetry run python webserver.py --storage /files
|
ENTRYPOINT poetry run python webserver.py --storage /files
|
||||||
|
|
26
poetry.lock
generated
26
poetry.lock
generated
|
@ -2,7 +2,7 @@
|
||||||
name = "coloredlogs"
|
name = "coloredlogs"
|
||||||
version = "15.0.1"
|
version = "15.0.1"
|
||||||
description = "Colored terminal output for Python's logging module"
|
description = "Colored terminal output for Python's logging module"
|
||||||
category = "main"
|
category = "dev"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
|
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ cron = ["capturer (>=2.4)"]
|
||||||
name = "humanfriendly"
|
name = "humanfriendly"
|
||||||
version = "10.0"
|
version = "10.0"
|
||||||
description = "Human friendly output for text interfaces using Python"
|
description = "Human friendly output for text interfaces using Python"
|
||||||
category = "main"
|
category = "dev"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
|
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
|
||||||
|
|
||||||
|
@ -27,23 +27,23 @@ pyreadline3 = {version = "*", markers = "sys_platform == \"win32\" and python_ve
|
||||||
name = "pydub"
|
name = "pydub"
|
||||||
version = "0.25.1"
|
version = "0.25.1"
|
||||||
description = "Manipulate audio with an simple and easy high level interface"
|
description = "Manipulate audio with an simple and easy high level interface"
|
||||||
category = "main"
|
category = "dev"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = "*"
|
python-versions = "*"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pyreadline3"
|
name = "pyreadline3"
|
||||||
version = "3.3"
|
version = "3.4.1"
|
||||||
description = "A python implementation of GNU readline."
|
description = "A python implementation of GNU readline."
|
||||||
category = "main"
|
category = "dev"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = "*"
|
python-versions = "*"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "svgwrite"
|
name = "svgwrite"
|
||||||
version = "1.4.1"
|
version = "1.4.2"
|
||||||
description = "A Python library to create SVG drawings."
|
description = "A Python library to create SVG drawings."
|
||||||
category = "main"
|
category = "dev"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=3.6"
|
python-versions = ">=3.6"
|
||||||
|
|
||||||
|
@ -51,14 +51,14 @@ python-versions = ">=3.6"
|
||||||
name = "tornado"
|
name = "tornado"
|
||||||
version = "6.1"
|
version = "6.1"
|
||||||
description = "Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed."
|
description = "Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed."
|
||||||
category = "main"
|
category = "dev"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">= 3.5"
|
python-versions = ">= 3.5"
|
||||||
|
|
||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "1.1"
|
lock-version = "1.1"
|
||||||
python-versions = "^3.9"
|
python-versions = "^3.9"
|
||||||
content-hash = "d8da6cfe808232f54332cf79322439d56b7aea24e5fc9533747d0bf582a6c6e5"
|
content-hash = "b989d535550aaf74b32cd9d2ff48ab7ed8d7d3fd5f0386bc2d6385d65adbf438"
|
||||||
|
|
||||||
[metadata.files]
|
[metadata.files]
|
||||||
coloredlogs = [
|
coloredlogs = [
|
||||||
|
@ -74,12 +74,12 @@ pydub = [
|
||||||
{file = "pydub-0.25.1.tar.gz", hash = "sha256:980a33ce9949cab2a569606b65674d748ecbca4f0796887fd6f46173a7b0d30f"},
|
{file = "pydub-0.25.1.tar.gz", hash = "sha256:980a33ce9949cab2a569606b65674d748ecbca4f0796887fd6f46173a7b0d30f"},
|
||||||
]
|
]
|
||||||
pyreadline3 = [
|
pyreadline3 = [
|
||||||
{file = "pyreadline3-3.3-py3-none-any.whl", hash = "sha256:0003fd0079d152ecbd8111202c5a7dfa6a5569ffd65b235e45f3c2ecbee337b4"},
|
{file = "pyreadline3-3.4.1-py3-none-any.whl", hash = "sha256:b0efb6516fd4fb07b45949053826a62fa4cb353db5be2bbb4a7aa1fdd1e345fb"},
|
||||||
{file = "pyreadline3-3.3.tar.gz", hash = "sha256:ff3b5a1ac0010d0967869f723e687d42cabc7dccf33b14934c92aa5168d260b3"},
|
{file = "pyreadline3-3.4.1.tar.gz", hash = "sha256:6f3d1f7b8a31ba32b73917cefc1f28cc660562f39aea8646d30bd6eff21f7bae"},
|
||||||
]
|
]
|
||||||
svgwrite = [
|
svgwrite = [
|
||||||
{file = "svgwrite-1.4.1-py3-none-any.whl", hash = "sha256:4b21652a1d9c543a6bf4f9f2a54146b214519b7540ca60cb99968ad09ef631d0"},
|
{file = "svgwrite-1.4.2-py3-none-any.whl", hash = "sha256:ca63d76396d1f6f099a2b2d8cf1419e1c1de8deece9a2b7f4da0632067d71d43"},
|
||||||
{file = "svgwrite-1.4.1.zip", hash = "sha256:e220a4bf189e7e214a55e8a11421d152b5b6fb1dd660c86a8b6b61fe8cc2ac48"},
|
{file = "svgwrite-1.4.2.zip", hash = "sha256:d304a929f197d31647c287c10eee0f64378058e1c83a9df83433a5980864e59f"},
|
||||||
]
|
]
|
||||||
tornado = [
|
tornado = [
|
||||||
{file = "tornado-6.1-cp35-cp35m-macosx_10_9_x86_64.whl", hash = "sha256:d371e811d6b156d82aa5f9a4e08b58debf97c302a35714f6f45e35139c332e32"},
|
{file = "tornado-6.1-cp35-cp35m-macosx_10_9_x86_64.whl", hash = "sha256:d371e811d6b156d82aa5f9a4e08b58debf97c302a35714f6f45e35139c332e32"},
|
||||||
|
|
Loading…
Reference in a new issue