FROM mcr.microsoft.com/devcontainers/typescript-node:20 MAINTAINER Imam Syahid Hudzaifa WORKDIR /app COPY ./fe/package*.json ./ RUN npm install COPY ./fe . # Default app name is hcportal, but can be overridden at runtime ENV APP_NAME=hcportal EXPOSE 4200 # Copy the entrypoint script COPY entrypoint-frontend.sh /entrypoint.sh # Make the entrypoint script executable RUN chmod +x /entrypoint.sh # Set the entrypoint ENTRYPOINT ["/entrypoint.sh"]