2022-08-10 21:31:04 +02:00
|
|
|
FROM python:3.10-alpine
|
2021-02-28 14:42:05 +01:00
|
|
|
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
|
2022-04-12 18:30:08 +02:00
|
|
|
COPY poetry.lock pyproject.toml ./
|
2021-02-28 14:42:05 +01:00
|
|
|
|
2022-04-12 18:30:08 +02:00
|
|
|
RUN apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo && pip install --no-cache-dir poetry && poetry config virtualenvs.create false && poetry install --no-root --no-interaction --no-ansi -vvv && apk del gcc musl-dev python3-dev libffi-dev openssl-dev cargo
|
2021-02-28 14:42:05 +01:00
|
|
|
COPY . .
|
|
|
|
|
2021-08-01 00:28:20 +03:00
|
|
|
WORKDIR /usr/src/app/robocop_ng
|
|
|
|
|
|
|
|
CMD [ "python", "./__init__.py" ]
|