fix : update dockerfile
release-tag / release-image (push) Failing after 11s

This commit is contained in:
2024-08-06 13:38:40 +02:00
parent a3ff9596d7
commit cb74d78928
+3 -2
View File
@@ -7,7 +7,7 @@ COPY . .
FROM git.legonzaur.fr/heronfief/cards-gen:main AS card-svg-stage
RUN python3 -u ./src/generate_cards_mvp.py
FROM git.legonzaur.fr/heronfief/cards-gen:main AS token-svg-stage
FROM git.legonzaur.fr/heronfief/tokens-gen:main AS token-svg-stage
RUN python3 -u ./src/generate_tokens_mvp.py
FROM install-stage AS build-stage
@@ -27,5 +27,6 @@ RUN npx nuxi generate
# étape de production
FROM nginx:stable-alpine AS production-stage
COPY --from=build-stage /app/.output/public /usr/share/nginx/html
COPY --from=svg-stage /app/img/skins /usr/share/nginx/html/img/skins
COPY --from=cards-svg-stage /app/img/skins /usr/share/nginx/html/img/skins
COPY --from=token-svg-stage /app/img/icon /usr/share/nginx/html/img/icon
COPY ./nginx.conf /etc/nginx/conf.d/default.conf