diff --git a/.dockerignore b/.dockerignore index 4acd06b..3570422 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1 +1,2 @@ config.py +__pycache__ diff --git a/Dockerfile b/Dockerfile index 2bd6b69..b5b27db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,9 @@ FROM python:3.10-alpine WORKDIR /usr/src/app -COPY requirements.txt ./ -RUN apk add --no-cache git gcc musl-dev python3-dev libffi-dev openssl-dev cargo && pip install -U pip && pip install --no-cache-dir -r requirements.txt && apk del gcc musl-dev python3-dev libffi-dev openssl-dev cargo +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 diff --git a/robocop_ng/helpers/errcodes.py b/robocop_ng/helpers/errcodes.py index e4f22bb..6b3dcb4 100644 --- a/robocop_ng/helpers/errcodes.py +++ b/robocop_ng/helpers/errcodes.py @@ -673,7 +673,7 @@ switch_known_errcodes = { 0x7D202: "Error: Specified partition is not found. ", 0x7D402: "Error: Specified target is not found. ", 0xFA002: "Error: Failed to access SD card. ", - 0x136802: "Error: Failed to access game card. " + 0x136802: "Error: Failed to access game card. ", 0x177202: "Error: Specified operation is not implemented. ", 0x177A02: "Error: Specified value is out of range. ", 0x190002: "Error: Failed to allocate memory. ",