I am trying to run the default cli generated remix application in Docker. I am getting the following error when I try to stand the container up:
app-1 | ╭─ error ──────────────────────────────────────────────────────────────────────╮
app-1 | │ │
app-1 | │ Couldn't find the store with domain “foo.myshopify.com". │
app-1 | │ │
app-1 | │ You can pass `--reset` to your command to reset your app configuration. │
app-1 | │ │
app-1 | ╰──────────────────────────────────────────────────────────────────────────────╯
The weird thing is that the store does exist in my Partners Account. Has anyone been able to successfully get this running in Docker and / or know what the issue might be?
Dockerfile:
FROM node:20-alpine
WORKDIR /app
COPY . .
RUN npm install
docker-compose.yml
version: "3.9"
services:
app:
build:
context: .
dockerfile: Dockerfile
command: sh -c "npm run dev"
env_file: .env
ports:
- "3000:3000"
- "8002:8002"
volumes:
- .:/app
.env, generated via npm run shopify config link:
SHOPIFY_CLI_PARTNERS_TOKEN="