From 9759f61e0e77fbd888e91f22c5dce14854830a1b Mon Sep 17 00:00:00 2001 From: Lauri Vuorela Date: Mon, 29 Jan 2024 01:30:26 +0100 Subject: Production target for Dockerfile (#57) * add production build * add back updates and use slim image * udpate command * ignore scripts * add workdir * fix workdirs * docker image improvements * use .example instead * use dummy data instead * remove unused env var and add comment * fix entrypoints * change name of script and add possibility for different commands * change to safer default for volume * add instructions for the dev docker container * update copy * add empty lines under topics to keep uniformity * most RUN's in a single command * add comment about volumes for dev target * remove dev workflow * remove dev workflow from readme * Prettify README --------- Co-authored-by: Sebastien Castiel --- compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compose.yaml') diff --git a/compose.yaml b/compose.yaml index 9f28da6..e0ef111 100644 --- a/compose.yaml +++ b/compose.yaml @@ -16,7 +16,7 @@ services: env_file: - container.env volumes: - - /var/lib/postgresql/data:/var/lib/postgresql/data + - ./postgres-data:/var/lib/postgresql/data healthcheck: test: ['CMD-SHELL', 'pg_isready -U postgres'] interval: 5s -- cgit v1.3