# Copyright (c) 2024-2026 MorCherlf
#
# Licensed under the MIT License. You may not use this file except in compliance
# with the License. You may obtain a copy of the License at:
#
#     https://opensource.org/licenses/MIT
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

FROM python:3.12-slim

WORKDIR /app

COPY griffino_sdk-0.1.0-py3-none-any.whl /tmp/griffino_sdk-0.1.0-py3-none-any.whl
COPY requirements.txt .
RUN pip install --no-cache-dir /tmp/griffino_sdk-0.1.0-py3-none-any.whl \
    && pip install --no-cache-dir -r requirements.txt

COPY plugin.py .

CMD ["python", "plugin.py"]
