diff options
-rwxr-xr-x | .gitignore | 2 | ||||
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | docker-compose.yml | 4 |
3 files changed, 3 insertions, 5 deletions
@@ -2,7 +2,7 @@ # gathio custom -config/config.toml +config.toml dist public/events/* !public/events/.gitkeep @@ -8,4 +8,4 @@ COPY . /app/ # Always exit 0 here because TSC will fail while we're migrating to TypeScript but # not everything uses TypeScript RUN pnpm run build; exit 0 -CMD pnpm run start +CMD ["node", "dist/start.js"] diff --git a/docker-compose.yml b/docker-compose.yml index a7a3f59..a176800 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: "3" - volumes: mongodb_data_db: @@ -14,7 +12,7 @@ services: # The path to Gathio's config folder - change to match your system - ./gathio-docker/config:/app/config # The path to Gathio's user-uploaded event images folder - change to match your system - - ./gathio-docker/events:/app/public/events + - ./gathio-docker/images:/app/public/events mongo: image: mongo:latest volumes: |