Fixed the Dockerfile

This commit is contained in:
Mathias
2022-08-10 21:07:17 +02:00
parent 146dab5775
commit ae72c79945

View File

@@ -10,8 +10,9 @@ COPY --chown=node:node ./server ./server
COPY --chown=node:node ./package.json ./package.json
RUN npm install
RUN cd client && npm install
RUN cd client && npm install --force
RUN npm run build
RUN mv /myspeed/client/build /myspeed
RUN rm -rf /myspeed/client
RUN mkdir -p /myspeed/data