Explorar o código

Añado cliente Postgres a imagen

Es para poder ejecutar ./manage.py dbshell
creylopez hai 9 meses
pai
achega
c0d25a4006
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -2,7 +2,7 @@
 FROM python:3.11-slim
 
 # install nginx
-RUN apt-get update && apt-get install nginx netcat-openbsd curl vim jq rsync -y
+RUN apt-get update && apt-get install nginx netcat-openbsd curl vim jq rsync postgresql-client -y
 # copy our nginx configuration to overwrite nginx defaults
 RUN rm /etc/nginx/sites-enabled/default
 RUN rm /etc/nginx/sites-available/default