FROM ubi9/s2i-core:rhel9.1.0
USER node
WORKDIR /home/node/app
RUN mkdir .npm
RUN mkdir /home/node/.npm
COPY . .
RUN npm install
RUN npm run build
RUN npm run build:fontawesome
EXPOSE 5000
CMD ["npm", "run", "start"]