Open b-a0 opened 8 months ago
Yeah, the build is currently broken. My intention was to fix this with a rewrite, but I did not manage to get there until now. I'll see if I can speed this up.
I see, thanks for the fast response. I managed to get v1.6.0
working with below Dockerfile, but failed to do the same for more recent versions.
These is the Dockerfile I used
FROM node:14-bullseye
RUN git clone --depth 1 --branch v1.6.0 https://github.com/nikeee/edotor.net.git edotor
WORKDIR /edotor
RUN npm install
RUN npm install -g serve
RUN npm run build:prod
# EXPOSE 3000
CMD ["serve", "-s", "dist"]
I am trying to get v1.7.1 running (or any version for that matter) but I struggle with the various dependency versions.
Firstly: what node version should I use for v1.7.1?
Secondly: whenever I run
npm install
after cloning the v1.7.1 tag I get a dependency conflict:I then circumvent that with
--legacy-peer-deps
, which installs succesfully.However, when I try to build with
npm run build:prod
I get module not found errors:What steps do I need to take to get any version of this great app running?