made updates to load envs and streamline pg pool to cut down on connections
Test Workflow / test-and-lint (pull_request) Failing after 45s

This commit is contained in:
2026-05-30 23:44:00 -07:00
parent 42563e6f7c
commit c16eab58a2
12 changed files with 19 additions and 43 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ ENV JWT_SECRET=${JWT_SECRET}
WORKDIR /app
COPY . .
RUN npm install --force --omit=dev && \
RUN npm install --force && \
echo "DATABASE_URL=${DATABASE_URL}" >> .env && \
echo "DB_HOST=${DB_HOST}" >> .env && \
echo "DB_USERNAME=${DB_USERNAME}" >> .env && \
@@ -27,4 +27,4 @@ RUN npm install --force --omit=dev && \
echo "DB_DATABASE=${DB_DATABASE}" >> .env && \
echo "JWT_SECRET=${JWT_SECRET}" >> .env
CMD ["node", "--env-file=.env", "src/app.js"]
CMD ["npm", "run", "docker:start"]