diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..990a0fe --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +variables: + REGISTRY: "registry.gitlab.resds.ru" + +stages: + - build + +.docker-login: + before_script: + - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$REGISTRY" + +build: + extends: .docker-login + stage: build + script: + - docker build -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA" . + - docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" + diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..13ba0a8 --- /dev/null +++ b/dockerfile @@ -0,0 +1,6 @@ +FROM ubuntu:focal-20240530 +ENV DEBIAN_FRONTEND="noninteractive" TZ="Europe/Moscow" PYTHONPATH=. +WORKDIR /app +RUN apt update && apt install python3 pkg-config python3-pip postgresql gcc libpq-dev -y +COPY ./ /app/ +RUN pip3 install -r requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..36e4af0 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,120 @@ +absl-py==2.1.0 +aniso8601==9.0.1 +attrs==19.3.0 +Automat==0.8.0 +bleach==6.1.0 +blinker==1.4 +bokeh==3.1.1 +cachetools==5.3.3 +certifi==2019.11.28 +cffi==1.14.5 +chardet==3.0.4 +click==8.1.7 +colorama==0.4.3 +colorcet==3.1.0 +configobj==5.0.6 +constantly==15.1.0 +contourpy==1.1.1 +cryptography==3.4.6 +cycler==0.12.1 +dask==2023.5.0 +datashader==0.15.2 +datashape==0.5.2 +entrypoints==0.3 +filelock==3.13.1 +Flask==2.0.1 +flask-restx==1.1.0 +fonttools==4.49.0 +fsspec==2024.2.0 +grpcio==1.62.1 +holoviews==1.17.1 +httplib2==0.14.0 +huggingface-hub==0.22.2 +hyperlink==19.0.0 +idna==2.10 +importlib-metadata==7.0.2 +importlib-resources==6.1.3 +incremental==16.10.1 +itsdangerous==2.1.2 +Jinja2==3.1.3 +joblib==1.3.2 +jsonpatch==1.22 +jsonpointer==2.0 +jsonschema==3.2.0 +kafka-python==2.0.2 +keyring==18.0.1 +kiwisolver==1.4.5 +launchpadlib==1.10.13 +lazr.restfulclient==0.14.2 +lazr.uri==1.0.3 +linkify-it-py==2.0.3 +llvmlite==0.41.1 +locket==1.0.0 +MarkupSafe==2.1.5 +matplotlib==3.7.5 +mccabe==0.6.1 +mdit-py-plugins==0.4.0 +mdurl==0.1.2 +more-itertools==4.2.0 +mpmath==1.3.0 +multipledispatch==1.0.0 +numba==0.58.1 +numpy==1.24.4 +oauthlib==3.1.0 +packaging==24.0 +pandas==2.0.3 +panel==1.2.3 +param==2.0.2 +partd==1.4.1 +pexpect==4.6.0 +pillow==10.2.0 +protobuf==4.25.3 +psycopg2==2.9.9 +pyasn1==0.4.2 +pyasn1-modules==0.2.1 +pycparser==2.20 +pyct==0.5.0 +PyHamcrest==1.9.0 +PyJWT==1.7.1 +pymacaroons==0.13.0 +PyNaCl==1.3.0 +pyOpenSSL==19.0.0 +pyparsing==3.1.2 +pyroute2==0.5.14 +pyrsistent==0.15.5 +pyserial==3.4 +pytz==2024.1 +pyviz-comms==3.0.1 +PyYAML==5.3.1 +regex==2023.12.25 +requests==2.25.1 +requests-oauthlib==1.4.0 +requests-unixsocket==0.2.0 +rsa==4.9 +safetensors==0.4.2 +scikit-learn==1.2.2 +scipy==1.10.1 +SecretStorage==2.3.1 +service-identity==18.1.0 +simplejson==3.16.0 +six==1.14.0 +sympy==1.12 +threadpoolctl==3.3.0 +tokenizers==0.15.2 +toolz==0.12.1 +torch==2.1.0 +tornado==6.4 +tqdm==4.66.2 +transformers==4.39.2 +triton==2.1.0 +Twisted==18.9.0 +typing-extensions==4.10.0 +tzdata==2024.1 +urllib3==1.26.4 +wadllib==1.3.3 +webencodings==0.5.1 +Werkzeug==2.2.2 +xarray==2023.1.0 +xyzservices==2023.10.1 +zipp==3.17.0 +zope.interface==4.7.1