From 203ee049dbb0f14cd484da2ce96690738d025d37 Mon Sep 17 00:00:00 2001 From: Jarid Prince <109533655+idabblewith@users.noreply.github.com> Date: Mon, 24 Jun 2024 10:16:13 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a1970658..80eba26d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# ====================== CONFIG ====================== +# ====================== IMAGE & CONFIG ====================== # Use the local version that works with poetry config when testing in dev (3.12.3) FROM python:3.12.3 # Ensures Python output sent to terminal for logging @@ -9,10 +9,16 @@ ENV PYTHONDONTWRITEBYTECODE 1 ENV TZ="Australia/Perth" # ====================== OS LEVEL DEPENDENCIES ====================== +# POSTGRES REQUIRED FOR MIGRATION SCRIPT / PERFORMING SQL ACTIONS AND CUSTOM COMMANDS - Commented out +# RUN wget -qO- https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo tee /etc/apt/trusted.gpg.d/pgdg.asc &>/dev/null RUN echo "Installing System Utils." && apt-get update && apt-get install -y \ -o Acquire::Retries=4 --no-install-recommends \ # Sys Utils rsync vim ncdu wget systemctl +# Sys Utils with Postgres +# rsync vim ncdu wget systemctl \ +# postgresql postgresql-client + # Set working dir of project WORKDIR /usr/src/app