diff --git a/Dockerfile b/Dockerfile
index 12e457a02f4dc0dc20a8fb24dc928afab458cb58..814f5c926bb70d63367affb8b66f695a088c8052 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,7 @@ RUN apt-get update && apt-get install -y \
         unzip \
         nodejs \
         npm \
+        nginx \
     && docker-php-ext-configure gd --with-freetype --with-jpeg \
     && docker-php-ext-install -j$(nproc) gd
 
@@ -43,9 +44,6 @@ RUN curl -o- -L https://yarnpkg.com/install.sh | bash
 RUN $HOME/.yarn/bin/yarn install --ignore-engines
 RUN $HOME/.yarn/bin/yarn encore dev
 
-## Add nginx
-
-RUN apk add --update --no-cache nginx
 
 COPY nginx.conf /etc/nginx/
 COPY symfony.conf /etc/nginx/conf.d/