FROM node:22-bullseye
ARG APP_PORT
ENV APP_PORT $APP_PORT
COPY . .
RUN npm i
EXPOSE $APP_PORT
ENTRYPOINT ["bash", "./entrypoint.sh"]