diff --git a/Dockerfile b/Dockerfile index a99f3c3..2a07ced 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ COPY ./ /usr/local/app/ RUN npm install --save-dev RUN npm run build -FROM nginx:latest +FROM nginx:alpine-slim RUN rm -rf /usr/share/nginx/html/* COPY --from=build /usr/local/app/build/ /usr/share/nginx/html COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf