Merge pull request 'Fixing dockerfile & compose checks' (#46) from dockerfile_parapharmacy_api_fix into main
Build & Push Docker Images / Detect Changes (push) Successful in 11s
Build & Push Docker Images / Backend Tests (push) Has been skipped
Build & Push Docker Images / Build Parapharmacy API (push) Successful in 24s
Build & Push Docker Images / Build Frontend (push) Has been skipped
Build & Push Docker Images / Deploy (push) Has been skipped
Build & Push Docker Images / Parapharmacy API Tests (push) Successful in 1m39s
Build & Push Docker Images / Pip Platform Tests (push) Has been skipped
Build & Push Docker Images / Frontend Tests (push) Has been skipped
Build & Push Docker Images / Build Backend (push) Has been skipped
Build & Push Docker Images / Build Pip Platform (push) Has been skipped

Reviewed-on: #46
This commit was merged in pull request #46.
This commit is contained in:
2026-07-17 10:08:26 +00:00
2 changed files with 2 additions and 5 deletions
+1 -4
View File
@@ -34,10 +34,7 @@ COPY apps/parapharmacy-api/package*.json ./
RUN npm install --omit=dev RUN npm install --omit=dev
# Copy source code # Copy source code
COPY apps/parapharmacy-api/src/ ./src/ COPY apps/parapharmacy-api/ .
# Copy scripts
COPY apps/parapharmacy-api/scripts/ ./scripts/
# Expose port # Expose port
EXPOSE 3002 EXPOSE 3002
+1 -1
View File
@@ -102,7 +102,7 @@ services:
MONGODB_URI: mongodb://mongodb:27017/parapharmacy MONGODB_URI: mongodb://mongodb:27017/parapharmacy
CORS_ORIGIN: ${CORS_ORIGIN:-https://farmacias.hacecalor.net} CORS_ORIGIN: ${CORS_ORIGIN:-https://farmacias.hacecalor.net}
healthcheck: healthcheck:
test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:3002/api/health"] test: ["CMD", "node", "-e", "require('http').get('http://localhost:3002/api/health', (r) => { process.exit(r.statusCode === 200 ? 0 : 1) })"]
interval: 10s interval: 10s
timeout: 5s timeout: 5s
retries: 5 retries: 5