ryuko-ng/Dockerfile

13 lines
443 B
Text
Raw Permalink Normal View History

2022-08-10 19:31:04 +00:00
FROM python:3.10-alpine
2021-02-28 13:42:05 +00:00
WORKDIR /usr/src/app
2022-04-12 16:30:08 +00:00
COPY poetry.lock pyproject.toml ./
2021-02-28 13:42:05 +00:00
2022-04-12 16:30:08 +00: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 13:42:05 +00:00
COPY . .
2023-03-09 22:19:53 +00:00
WORKDIR /usr/src/app
2021-07-31 21:28:20 +00:00
CMD [ "python", "-m", "robocop_ng", "/state" ]