diff --git a/frontend/Dockerfile b/frontend/Dockerfile index e38281d..a596499 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -15,5 +15,11 @@ WORKDIR /usr/share/nginx/html COPY nginx.conf /etc/nginx/conf.d/default.conf COPY --from=build /app/dist ./ +ENV API_BASE_URL="" + +COPY docker-entrypoint.sh /docker-entrypoint.sh +RUN chmod +x /docker-entrypoint.sh + EXPOSE 80 +ENTRYPOINT ["/docker-entrypoint.sh"] CMD ["nginx", "-g", "daemon off;"] diff --git a/frontend/src/index.html b/frontend/src/index.html index d5cc24a..1a26e61 100644 --- a/frontend/src/index.html +++ b/frontend/src/index.html @@ -6,6 +6,7 @@