M1 Pro device: problems with docker compose

During the last days I was trying to run dockerized projects on MacBook Pro with an Apple silicon – M1 Pro processor. I was using docker compose and encountered a few problems during this process. In the problematic project I have two Dockerfiles. One is based on python:3.8.5-slim image and the second one on node:12 …