modified dockerfile so that assets would not be lost

This commit is contained in:
quentin 2025-03-05 13:49:43 +01:00
parent fbf7430859
commit e8d1d482c7

View File

@ -11,8 +11,9 @@ RUN npm install
RUN npm install -g serve RUN npm install -g serve
RUN npm run build RUN npm run build
RUN mkdir /app RUN mkdir -p /app/src
RUN cp -r ./dist/* /app RUN cp -r ./dist/* /app
RUN cp -r ./src/assets /app/src
WORKDIR / WORKDIR /
RUN rm -rf mastermind RUN rm -rf mastermind
ENTRYPOINT ["serve", "/app", "-l", "4521"] ENTRYPOINT ["serve", "/app", "-l", "4521"]