Building blocks for digital commerce
This repo is managed by the Medusa Community. Medusa does not provide official support for Docker, but we will accept fixes and documentation. Use at your own risk.
To use Docker with Medusa, you should have created a Medusa project. Check out our docs to get started.
Additionally, you should have docker
installed on your system.
Copy the .dockerignore
and Dockerfile
to a Medusa project folder.
Run docker build
command
docker build -t medusa:latest .
You can test run the image locally by injecting .env
file.
docker run --rm -it --env-file=.env --network=host medusa:latest
--network=host
assuming you have Postgres installed and run either locally,
or with a docker container which has its port exposed in the host network.
Licensed under the MIT License.