Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docker-compose.medusa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ services:
volumes:
- ./medusa-marketplace-demo/.env.docker:/application/.env
command: sh -c "npx medusa db:setup --db marketplace && yarn dev"
# command: sh -c "npx medusa db:setup --db marketplace && NODE_ENV=production yarn start" # for running in production mode
networks:
- internal

Expand Down
2 changes: 2 additions & 0 deletions medusa-marketplace-demo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ COPY . .

RUN yarn install --frozen-lockfile

RUN yarn build

EXPOSE 9000

CMD ["yarn", "dev"]
2 changes: 1 addition & 1 deletion medusa-marketplace-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"medusa"
],
"scripts": {
"build": "medusa build",
"build": "medusa build && ln -s .medusa/server/public/ public",
"seed": "medusa exec ./src/scripts/seed.ts",
"start": "medusa start",
"dev": "medusa develop",
Expand Down