fix: remove PostgreSQL initialization from entrypoint and update Docker configuration for external database
Some checks failed
Build And Publish Production Image / Build And Publish Production Image (push) Failing after 2m23s

This commit is contained in:
2026-03-28 13:40:24 -03:00
parent 52ea621145
commit 942da74778
5 changed files with 25 additions and 35 deletions

View File

@@ -29,14 +29,10 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
nginx \
postgresql \
supervisor \
openjdk-21-jre-headless \
&& rm -rf /var/lib/apt/lists/*
# PostgreSQL data directory
RUN mkdir -p /var/lib/postgresql/data && chown -R postgres:postgres /var/lib/postgresql
# Copy frontend static files
COPY --from=frontend-build /app/frontend/dist /usr/share/nginx/html