FROM node:20-alpine

WORKDIR /var/www/app/apps/frontend

RUN apk add --no-cache git bash

COPY entrypoint.sh /usr/local/bin/entrypoint.sh

RUN chmod +x /usr/local/bin/entrypoint.sh

ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["build"]
