Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
MickaelMenet committed Apr 4, 2024
1 parent 16bd652 commit 3537ec9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
13 changes: 5 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,18 @@ RUN rm etc/nginx/conf.d/default.conf
COPY --chown=$NGINX_USER:$NGINX_USER nginx.conf etc/nginx/conf.d/

COPY --chown=$NGINX_USER:$NGINX_USER build /usr/share/nginx/html
COPY --chown=$NGINX_USER:$NGINX_USER /dev/zero /usr/share/nginx/html/configuration.json
COPY --chown=$NGINX_USER:$NGINX_USER /dev/zero /usr/share/nginx/html/keycloak.json
# WORKDIR /usr/share/nginx/html
# RUN rm configuration.json
# RUN rm keycloak.json
# RUN touch configuration.json
# RUN touch keycloak.json
# WORKDIR /
COPY --chown=$NGINX_USER:$NGINX_USER entrypoint.sh /entrypoint.sh

RUN chmod 755 /entrypoint.sh
RUN id && ls -Alh /usr/share/nginx/html/

EXPOSE 8080

USER $NGINX_USER_ID
RUN echo '' > /usr/share/nginx/html/configuration.json
RUN echo '' > /usr/share/nginx/html/keycloak.json
RUN ls -Alh /usr/share/nginx/html/

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pearl",
"version": "0.0.8",
"version": "0.0.9",
"private": true,
"dependencies": {
"@emotion/react": "^11.11.1",
Expand Down

0 comments on commit 3537ec9

Please sign in to comment.