diff --git a/Dockerfile b/Dockerfile index 0d57285..3c08e55 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,11 +36,13 @@ CMD ["npm", "start"] # --- Stage 3: Builder (Compilation) --- FROM base AS builder COPY . . -# Args to bake URLs into the JS bundle +# Args to bake URLs and version into the JS bundle ARG REACT_APP_API_URL ARG REACT_APP_AUTH_URL +ARG APP_VERSION ENV REACT_APP_API_URL=$REACT_APP_API_URL ENV REACT_APP_AUTH_URL=$REACT_APP_AUTH_URL +ENV REACT_APP_VERSION=$APP_VERSION ENV NODE_OPTIONS=--openssl-legacy-provider RUN if [ -f yarn.lock ]; then yarn build; else npm run build; fi diff --git a/src/components/home/styles.css b/src/components/home/styles.css index 319e3ed..022d36a 100644 --- a/src/components/home/styles.css +++ b/src/components/home/styles.css @@ -92,7 +92,7 @@ /* Leaderboard Table */ .leaderboard-table { - margin-bottom: 0; + margin-bottom: 3rem; } .leaderboard-table thead th {