Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ jobs:
docker compose pull
docker compose up -d
docker exec guideon-nginx nginx -s reload
docker image prune -af --filter "until=168h"
docker image prune -af
echo "=== Deploy complete ==="
docker compose ps
16 changes: 3 additions & 13 deletions infra/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
FROM postgis/postgis:16-3.4

RUN apt-get update && apt-get install -y \
git \
make \
build-essential \
postgresql-server-dev-16 \
clang-13 \
llvm-13 \
# pgvector: 빌드 도구 없이 PGDG apt 패키지로 설치 (이미지 크기 ~2GB 절감)
RUN apt-get update \
&& apt-get install -y --no-install-recommends postgresql-16-pgvector \
&& rm -rf /var/lib/apt/lists/*

RUN cd /tmp && \
git clone --branch v0.7.0 https://github.com/pgvector/pgvector.git && \
cd pgvector && \
make && \
make install

COPY init.sql /docker-entrypoint-initdb.d/20_init.sql
Loading