Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sakthi-aot committed Mar 13, 2024
1 parent d51e5e6 commit fce5ac0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/caseflow_web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ RUN npm run build
FROM nginx:latest as production-stage

# Fix permissions for Nginx directories
RUN mkdir -p /var/cache/nginx/client_temp && \
# Fix permissions for Nginx directories
RUN mkdir -p /var/cache/nginx/client_temp /var/cache/nginx/proxy_temp && \
chmod 755 /var/cache/nginx && \
chmod 700 /var/cache/nginx/client_temp && \
chown nginx:nginx /var/cache/nginx/client_temp
chmod 700 /var/cache/nginx/client_temp /var/cache/nginx/proxy_temp && \
chown nginx:nginx /var/cache/nginx/client_temp /var/cache/nginx/proxy_temp


COPY --from=build-stage /case-flow-web/app/build /usr/share/nginx/html

Expand Down

0 comments on commit fce5ac0

Please sign in to comment.