Ver código fonte

Merge branch 'release-0.0.12'

Arkadiusz Ryś 2 anos atrás
pai
commit
90f073e0ec
3 arquivos alterados com 3 adições e 3 exclusões
  1. 1 1
      .gitlab-ci.yml
  2. 1 1
      Dockerfile
  3. 1 1
      ontopoint/__init__.py

+ 1 - 1
.gitlab-ci.yml

@@ -22,7 +22,7 @@ before_script:
   - docker info
   - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
 
-build-upload:
+.build-upload:
   image: python:3.11
   stage: build
   before_script:

+ 1 - 1
Dockerfile

@@ -10,5 +10,5 @@ WORKDIR ${APP_HOME}
 #  && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
 #  && rm -rf /var/lib/apt/lists/*
 RUN pip install -r requirements.txt
-ENTRYPOINT ["python -m ontopoint"]
+ENTRYPOINT ["uvicorn ontopoint:main:app --reload"]
 #CMD ["/start.sh"]

+ 1 - 1
ontopoint/__init__.py

@@ -1,3 +1,3 @@
 """Ontology server."""
-__version__ = "0.0.11"
+__version__ = "0.0.12"
 __version_info__ = tuple((int(num) if num.isdigit() else num for num in __version__.replace("-", ".", 1).split(".")))