Compare commits

..

No commits in common. "4cc69a4d296c45663ba9381dc132b6460a8864c0" and "cc362e5ceb09f9efce19373b3df8e8299f0d885b" have entirely different histories.

2 changed files with 14 additions and 23 deletions

View file

@ -1,11 +1,7 @@
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
COPY /app /app
COPY pyproject.toml /app
COPY poetry.lock /app
@ -15,9 +11,4 @@ RUN pip3 install poetry
RUN poetry config virtualenvs.create false
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

26
poetry.lock generated
View file

@ -2,7 +2,7 @@
name = "coloredlogs"
version = "15.0.1"
description = "Colored terminal output for Python's logging module"
category = "dev"
category = "main"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
@ -16,7 +16,7 @@ cron = ["capturer (>=2.4)"]
name = "humanfriendly"
version = "10.0"
description = "Human friendly output for text interfaces using Python"
category = "dev"
category = "main"
optional = false
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"
version = "0.25.1"
description = "Manipulate audio with an simple and easy high level interface"
category = "dev"
category = "main"
optional = false
python-versions = "*"
[[package]]
name = "pyreadline3"
version = "3.4.1"
version = "3.3"
description = "A python implementation of GNU readline."
category = "dev"
category = "main"
optional = false
python-versions = "*"
[[package]]
name = "svgwrite"
version = "1.4.2"
version = "1.4.1"
description = "A Python library to create SVG drawings."
category = "dev"
category = "main"
optional = false
python-versions = ">=3.6"
@ -51,14 +51,14 @@ python-versions = ">=3.6"
name = "tornado"
version = "6.1"
description = "Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed."
category = "dev"
category = "main"
optional = false
python-versions = ">= 3.5"
[metadata]
lock-version = "1.1"
python-versions = "^3.9"
content-hash = "b989d535550aaf74b32cd9d2ff48ab7ed8d7d3fd5f0386bc2d6385d65adbf438"
content-hash = "d8da6cfe808232f54332cf79322439d56b7aea24e5fc9533747d0bf582a6c6e5"
[metadata.files]
coloredlogs = [
@ -74,12 +74,12 @@ pydub = [
{file = "pydub-0.25.1.tar.gz", hash = "sha256:980a33ce9949cab2a569606b65674d748ecbca4f0796887fd6f46173a7b0d30f"},
]
pyreadline3 = [
{file = "pyreadline3-3.4.1-py3-none-any.whl", hash = "sha256:b0efb6516fd4fb07b45949053826a62fa4cb353db5be2bbb4a7aa1fdd1e345fb"},
{file = "pyreadline3-3.4.1.tar.gz", hash = "sha256:6f3d1f7b8a31ba32b73917cefc1f28cc660562f39aea8646d30bd6eff21f7bae"},
{file = "pyreadline3-3.3-py3-none-any.whl", hash = "sha256:0003fd0079d152ecbd8111202c5a7dfa6a5569ffd65b235e45f3c2ecbee337b4"},
{file = "pyreadline3-3.3.tar.gz", hash = "sha256:ff3b5a1ac0010d0967869f723e687d42cabc7dccf33b14934c92aa5168d260b3"},
]
svgwrite = [
{file = "svgwrite-1.4.2-py3-none-any.whl", hash = "sha256:ca63d76396d1f6f099a2b2d8cf1419e1c1de8deece9a2b7f4da0632067d71d43"},
{file = "svgwrite-1.4.2.zip", hash = "sha256:d304a929f197d31647c287c10eee0f64378058e1c83a9df83433a5980864e59f"},
{file = "svgwrite-1.4.1-py3-none-any.whl", hash = "sha256:4b21652a1d9c543a6bf4f9f2a54146b214519b7540ca60cb99968ad09ef631d0"},
{file = "svgwrite-1.4.1.zip", hash = "sha256:e220a4bf189e7e214a55e8a11421d152b5b6fb1dd660c86a8b6b61fe8cc2ac48"},
]
tornado = [
{file = "tornado-6.1-cp35-cp35m-macosx_10_9_x86_64.whl", hash = "sha256:d371e811d6b156d82aa5f9a4e08b58debf97c302a35714f6f45e35139c332e32"},