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 . .
|
|
|
|
|
2023-03-09 23:19:53 +01:00
|
|
|
WORKDIR /usr/src/app
|
2021-08-01 00:28:20 +03:00
|
|
|
|
2023-04-05 12:10:18 +02:00
|
|
|
CMD [ "python", "-m", "robocop_ng", "/state" ]
|