瀏覽代碼

Añado cliente Postgres a imagen

Es para poder ejecutar ./manage.py dbshell
creylopez 9 月之前
父節點
當前提交
c0d25a4006
共有 1 個文件被更改,包括 1 次插入1 次删除
  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