diff --git a/Dockerfile.prod b/Dockerfile.prod index 1bb2d42..274ba8c 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -13,9 +13,9 @@ COPY . ./ RUN npm run build # copy the production artifacts to the nginx server folder -FROM nginx:stable-alpine +FROM nginxinc/nginx-unprivileged:stable-alpine COPY --from=build /app/prod/dist /usr/share/nginx/html #expose the app port -EXPOSE 80 +EXPOSE 8080 CMD ["nginx", "-g", "daemon off;"]