FROM node:20-alpine # Set working directory in the container. WORKDIR /app # Copy the entrypoint script into /app and make it executable. COPY entrypoint.sh /app/entrypoint.sh RUN chmod +x /app/entrypoint.sh # (Optional) You might also want to copy other files that your Medusa app may need, # but in this case, the project is created during runtime and stored in a persistent volume. # Set the default command to run the entrypoint script. CMD ["/app/entrypoint.sh"]