You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUN mkdir -p /frontend/.cache /frontend/.parcel-cache
VOLUME /frontend/node_modules
VOLUME /frontend/.cache
VOLUME /frontend/.parcel-cache
# make sure that stale caches aren't used
RUN rm -rf /frontend/node_modules/*
RUN rm -rf /frontend/.cache/*
RUN rm -rf /frontend/.parcel-cache/*
RUN yarn run parcel --version
CMD yarn start
CMDsh -c 'if [ -z "$(ls -A /frontend/.parcel-cache)" ]; then yarn start; else echo "parcel cache not empty, run docker-compose with -V (--renew-anon-volumes)"; fi'