diff options
| author | Fuwn <[email protected]> | 2022-09-23 22:42:14 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-09-23 22:42:14 -0700 |
| commit | 5bc398b5166e49147fa5fac41de0bc866a2159e0 (patch) | |
| tree | b273f21291c9b326297971bafed9ac0b1d5e9b49 /Dockerfile | |
| download | machinis-5bc398b5166e49147fa5fac41de0bc866a2159e0.tar.xz machinis-5bc398b5166e49147fa5fac41de0bc866a2159e0.zip | |
feat: initial commit
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..aeca5eb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM python:3.10 + +ENV PYTHONDONTWRITEBYTECODE 1 \ + PYTHONUNBUFFERED 1 \ + PIP_DISABLE_PIP_VERSION_CHECK 1 + +RUN pip install poetry + +WORKDIR /machinis + +COPY poetry.lock pyproject.toml /machinis/ + +RUN poetry config virtualenvs.create false \ + && poetry install --no-dev --no-interaction --no-ansi + +COPY . /machinis + +ENTRYPOINT ["poetry", "run", "python", "-m", "machinis"] |