FROM git.marinodev.com/marinodev/node_gitea_ci:latest

RUN cd /srv && \
    git clone https://git.marinodev.com/drake/fbla26.git
WORKDIR /srv/fbla26

RUN npm ci
RUN npm run build

EXPOSE 8080
ENTRYPOINT node /srv/fbla26/build
