mirror of
https://github.com/Sheldan/Sissi.git
synced 2026-01-26 19:21:43 +00:00
[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:
@@ -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
|
||||
Reference in New Issue
Block a user