diff --git a/docker/Dockerfile b/Dockerfile similarity index 95% rename from docker/Dockerfile rename to Dockerfile index db5418e..b73d1b8 100644 --- a/docker/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ COPY --from=build /app/build ./build COPY --from=build /app/node_modules ./node_modules COPY --from=build /app/package.json ./package.json COPY --from=build /app/src/lib/server/db/schema.sql ./build/schema.sql -COPY docker/entrypoint.sh /entrypoint.sh +COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh ENV NODE_ENV=production diff --git a/README.md b/README.md index c0a1e9e..4b24949 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ login/status parsing (fetch mocked). 1. Build the image once locally or on the host: ```bash - docker compose -f docker/docker-compose.yml build + docker compose build ``` 2. Import the shape of the stack into Komodo using `komodo/stack.toml` (or diff --git a/docker/docker-compose.yml b/docker-compose.yml similarity index 93% rename from docker/docker-compose.yml rename to docker-compose.yml index 014a288..13327f1 100644 --- a/docker/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,7 @@ services: electric-cherry: build: - context: .. - dockerfile: docker/Dockerfile + context: . image: electric-cherry:latest container_name: electric-cherry restart: unless-stopped diff --git a/docker/entrypoint.sh b/entrypoint.sh similarity index 100% rename from docker/entrypoint.sh rename to entrypoint.sh