ryuko-ng/Dockerfile
2023-03-03 19:58:51 +01:00

12 lines
441 B
Docker

FROM python:3.10-alpine
WORKDIR /usr/src/app
COPY poetry.lock pyproject.toml ./
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
COPY . .
WORKDIR /usr/src/app/robocop_ng
CMD [ "python", "./__init__.py" ]