FROM fedora:45
 
RUN dnf install -y golang prusa-slicer f3d glibc-langpack-en nodejs npm && dnf clean all
RUN npm i -g nodemon@3.1.0

ENV LANG=en_US.UTF-8

WORKDIR /src

COPY ../docker/nodemon.json /run/nodemon.json  

RUN dnf install fuser unzip -y
 
ENV LIBGL_ALWAYS_SOFTWARE=1

CMD [ "nodemon", "--config", "docker/nodemon.json" ]
