Fix module support

This commit is contained in:
Mary 2023-03-09 23:19:53 +01:00
parent bd5f37086e
commit 2f2475985d
2 changed files with 2 additions and 2 deletions

View file

@ -7,6 +7,6 @@ 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
WORKDIR /usr/src/app
CMD [ "python", "./__init__.py" ]
CMD [ "python", "-m", "robocop_ng" ]