diff --git a/Dockerfile.client b/Dockerfile.client index 70f0f84d..87e906c7 100644 --- a/Dockerfile.client +++ b/Dockerfile.client @@ -37,4 +37,4 @@ COPY --from=build-client /app/apps/client/dist /usr/share/nginx/html COPY --from=base /app/nginx/client.conf /etc/nginx/conf.d ENV NODE_ENV production EXPOSE 443 80 -CMD [ "nginx", "-g", "daemon off;"] \ No newline at end of file +ENTRYPOINT [ "nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/nginx/client.conf b/nginx/client.conf index 4d44a1f1..ac51e1f4 100644 --- a/nginx/client.conf +++ b/nginx/client.conf @@ -1,10 +1,10 @@ server { - listen 80 + listen 80; location / { - root /usr/share/nginx/html + root /usr/share/nginx/html; index index.html; - try_files $uri /index.html + try_files $uri /index.html; } }