fix: Update Dockerfile

This commit is contained in:
Ahmed Bouhuolia
2024-05-10 11:36:01 +02:00
committed by GitHub
parent 92e3d31360
commit 23d27cafc1

View File

@@ -34,8 +34,5 @@ WORKDIR /app/packages/server
RUN git clone https://github.com/vishnubob/wait-for-it.git
ADD docker/migration/start.sh /
RUN chmod +x /start.sh
# Once we listen the mysql port run the migration task.
CMD ./wait-for-it/wait-for-it.sh mysql:3306 -- sh -c "node ./build/commands.js system:migrate:latest && node ./build/commands.js tenants:migrate:latest"