Fixing dockerfile & compose checks
Run Tests on Branches / Detect Changes (push) Successful in 13s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Has been skipped
Run Tests on Branches / Parapharmacy API Tests (push) Successful in 1m34s
Run Tests on Branches / PIP Platform Tests (push) Has been skipped
Run Tests on Branches / Detect Changes (push) Successful in 13s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Has been skipped
Run Tests on Branches / Parapharmacy API Tests (push) Successful in 1m34s
Run Tests on Branches / PIP Platform Tests (push) Has been skipped
This commit is contained in:
@@ -34,10 +34,7 @@ COPY apps/parapharmacy-api/package*.json ./
|
||||
RUN npm install --omit=dev
|
||||
|
||||
# Copy source code
|
||||
COPY apps/parapharmacy-api/src/ ./src/
|
||||
|
||||
# Copy scripts
|
||||
COPY apps/parapharmacy-api/scripts/ ./scripts/
|
||||
COPY apps/parapharmacy-api/ .
|
||||
|
||||
# Expose port
|
||||
EXPOSE 3002
|
||||
|
||||
+1
-1
@@ -102,7 +102,7 @@ services:
|
||||
MONGODB_URI: mongodb://mongodb:27017/parapharmacy
|
||||
CORS_ORIGIN: ${CORS_ORIGIN:-https://farmacias.hacecalor.net}
|
||||
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
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user