Skip to content

Commit

Permalink
Remove user 1001
Browse files Browse the repository at this point in the history
Try to remove the owner setting for some folder as its not working at customer site. Customer is using user 1000 by default
  • Loading branch information
milanhorvath authored Jan 30, 2025
1 parent 03a74ce commit dd0f00f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ COPY default.conf ${DIR_SERVER_BLOCKS}

# default list of environment variable names
ENV CONFIG_ENV_LIST BFF_URL,APP_BASE_HREF,CORS_ENABLED,APP_VERSION,APP_ID,PRODUCT_NAME,TKIT_PORTAL_URL
RUN chown -R 1001:1001 /var && mkdir -p /var/run && touch /var/run/nginx.pid && chmod 775 -R /var/run/nginx.pid
# Try to remove as at TKOM it does not work
# RUN chown -R 1001:1001 /var && mkdir -p /var/run && touch /var/run/nginx.pid && chmod 775 -R /var/run/nginx.pid

ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
CMD ["nginx", "-g", "daemon off;"]
Expand Down

0 comments on commit dd0f00f

Please sign in to comment.