Compare commits

...
Author SHA1 Message Date
legonzaur 21c41bb9fd ci : fix image directory
release-tag / release-image (push) Successful in 28s
2024-08-04 11:36:52 +02:00
legonzaur bb625b1fee ci : copy pngs into production stage
release-tag / release-image (push) Successful in 29s
2024-08-04 11:35:20 +02:00
legonzaur fd3cf0ba23 ci : fix image not being copied
release-tag / release-image (push) Successful in 28s
2024-08-04 11:33:10 +02:00
+2
View File
@@ -9,6 +9,7 @@ RUN python3 -u ./src/generate_cards_mvp.py
FROM install-stage AS build-stage
COPY --from=svg-stage /app/output/heron ./assets/images/cards/heron-svg
COPY --from=svg-stage /app/img/skins ./public/img
ARG NUXT_PUBLIC_ENDPOINT
ARG NUXT_PUBLIC_DISCORD_LOGIN_ENDPOINT
@@ -19,4 +20,5 @@ 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/public/img/skins
COPY ./nginx.conf /etc/nginx/conf.d/default.conf