Force l'environnemnt au BUILD
This commit is contained in:
@@ -28,6 +28,7 @@ RUN rm -rf /usr/share/nginx/html/*
|
||||
|
||||
# Copy frontend dist folder to nginx html directory
|
||||
COPY --from=build-frontend /app/dist/browser /usr/share/nginx/html
|
||||
RUN mkdir -p /usr/share/nginx/html/config
|
||||
|
||||
# Copy backend from the correct build stage
|
||||
COPY --from=build-backend /app/publish /app
|
||||
|
||||
Reference in New Issue
Block a user