[SIS-xxx] refactoring to use a base image for rest api instead of a zipfile

changing image pull policy for rest api and bot to always
renaming rest api container
This commit is contained in:
Sheldan
2023-12-20 21:07:59 +01:00
parent 4128274a7d
commit 58d6b12a67
7 changed files with 12 additions and 50 deletions

View File

@@ -1,9 +1,5 @@
FROM python:3.10.13-alpine3.18
ADD requirements.txt /
RUN pip install -r requirements.txt
RUN apk --no-cache add msttcorefonts-installer fontconfig && \
update-ms-fonts && \
fc-cache -f
ADD wrapper /
ADD python /python
CMD ["/run.sh"]
ARG REGISTRY_PREFIX
FROM ${REGISTRY_PREFIX}abstracto-rest-api:${ABSTRACTO_VERSION:-latest}
ADD python/resources /python/resources
ADD python/custom /python/custom