From 2d751c4e2e6f610e8a762e47b23cd0b58eb3c932 Mon Sep 17 00:00:00 2001 From: Xie Yanbo Date: Sun, 29 Sep 2024 16:54:35 +0800 Subject: [PATCH] Fix server Dockerfile --- server/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/server/Dockerfile b/server/Dockerfile index ff4fc8665..2896796e5 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -9,14 +9,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ curl \ make \ + libpq-dev \ + gcc \ + netcat-openbsd \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* # Install Poetry RUN curl -sSL https://install.python-poetry.org | python3 - -RUN apt-get update && apt-get install netcat-openbsd -y - # Add Poetry to PATH ENV PATH="/root/.local/bin:$PATH" @@ -43,4 +44,4 @@ RUN chmod +x /startup.sh # RUN dos2unix startup.sh # Run the entrypoint script -CMD ["/startup.sh"] \ No newline at end of file +CMD ["/startup.sh"]