diff --git a/Dockerfile b/Dockerfile
index 80f905c..cfa010c 100755
--- a/Dockerfile
+++ b/Dockerfile
@@ -44,14 +44,11 @@ RUN apk update && apk add --no-cache nodejs npm wget
COPY --from=builder /app/dist /usr/share/nginx/html
COPY --from=builder /app/package*.json /app/
-# Index HTML minimal chargeant le bundle
-RUN printf '\n\n
\n \n \n 4NK UI\n\n\n \n \n\n\n' > /usr/share/nginx/html/index.html
-
-# Copie de la configuration nginx optimisée pour 4NK_node
+# Copie de la configuration nginx
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Script de démarrage
-COPY start.sh /start-4nk-node.sh
+COPY start-4nk-node.sh /start-4nk-node.sh
RUN chmod +x /start-4nk-node.sh
# Exposition des ports
diff --git a/nginx.conf b/nginx.conf
new file mode 100644
index 0000000..14cde39
--- /dev/null
+++ b/nginx.conf
@@ -0,0 +1,16 @@
+server {
+ listen 80;
+ server_name _;
+
+ root /usr/share/nginx/html;
+ index index.html;
+
+ location / {
+ try_files $uri $uri/ /index.html;
+ }
+
+ location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|webp|wasm)$ {
+ expires 1y;
+ add_header Cache-Control "public, immutable";
+ }
+}