diff options
| author | Raphael Kabo <raphael@spruce.eco> | 2024-07-31 22:23:22 +0100 | 
|---|---|---|
| committer | Raphael Kabo <raphael@spruce.eco> | 2024-07-31 22:23:22 +0100 | 
| commit | 9cfb568b56ce17f166ae87d1612e80b0d48b3fec (patch) | |
| tree | 6646b107be69f4f563eafc25b670bc49e829f2bb | |
| parent | 55e0d6ff22b6d3b037de6b9b0cb0c8ce6c2a19a9 (diff) | |
fix: Docker unhappy with CMD
| -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:  | 
