Skip to content

Commit

Permalink
fix: cmd -> entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
wuzoo committed Jan 22, 2025
1 parent c0cf7b8 commit 268a072
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.client
Original file line number Diff line number Diff line change
Expand Up @@ -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;"]
ENTRYPOINT [ "nginx", "-g", "daemon off;"]
6 changes: 3 additions & 3 deletions nginx/client.conf
Original file line number Diff line number Diff line change
@@ -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;
}
}

Expand Down

0 comments on commit 268a072

Please sign in to comment.