From 22060548c066188e6cd6aefbb47b5286378d4138 Mon Sep 17 00:00:00 2001 From: Lukas Date: Tue, 24 Mar 2026 12:57:24 +0200 Subject: [PATCH] Fixed few issues with docker --- Dockerfile | 1 + docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fa6959e..d4bfc0f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,6 +51,7 @@ COPY --from=clean /app/ /app/ # Install yarn ASAP because it's the slowest RUN ["corepack", "enable"] +RUN apk add --no-cache postgresql-client RUN ["yarn", "workspaces", "focus", "-A", "--production"] LABEL description="My PostGraphile-powered server" diff --git a/docker-compose.yml b/docker-compose.yml index 38c083b..9b8738f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: '3.8' +version: "3.8" services: postgres: @@ -34,5 +34,5 @@ services: echo 'Waiting for Postgres...'; sleep 1; done; - exec yarn postgraphile -n 0.0.0.0 + exec yarn start:production -n 0.0.0.0 "