Skip to content

Commit cd1b169

Browse files
committed
Adding dockerfile, work on poetry packaging
1 parent cae5de9 commit cd1b169

File tree

4 files changed

+70
-24
lines changed

4 files changed

+70
-24
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.venv

Dockerfile

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM python:3.7.5
2+
3+
ENV \
4+
PYTHONFAULTHANDLER=1 \
5+
PYTHONUNBUFFERED=1 \
6+
PYTHONHASHSEED=random \
7+
PIP_DISABLE_PIP_VERSION_CHECK=on \
8+
POETRY_VERSION=0.12.17
9+
10+
RUN mkdir /mate3 && pip --no-cache-dir install poetry
11+
WORKDIR /mate3
12+
ADD pyproject.toml poetry.lock /mate3/
13+
RUN poetry install --no-interaction --no-dev --extras=mate3_pg
14+
15+
ADD mate3 /mate3/mate3
16+
ADD registry_data /mate3/registry_data
17+
ADD pg_config.yaml /mate3/
18+
19+
CMD poetry run mate3

poetry.lock

+45-24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)