fix: #224
Some checks are pending
CI / test-and-build (push) Waiting to run
CI / Playwright Tests (push) Waiting to run
CI / Build and Push Multi-Platform Docker Image (push) Blocked by required conditions
CI / deploy (push) Blocked by required conditions

This commit is contained in:
Ibrahima G. Coulibaly 2025-07-25 17:48:42 +01:00
commit 2755590fce
2 changed files with 6 additions and 1 deletions

View file

@ -10,10 +10,11 @@ RUN npm run build
FROM nginx:alpine
COPY mime.types /etc/nginx/mime.types
COPY --from=build /app/dist /usr/share/nginx/html
RUN sed -i 's|index index.html index.htm;|index index.html index.htm;\n try_files $uri $uri/ /index.html;|' /etc/nginx/conf.d/default.conf
# Expose port 80
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]

4
mime.types Normal file
View file

@ -0,0 +1,4 @@
types {
application/javascript mjs;
}