Fixes on docker compose & Dockerfile for Parapharmacy API
Run Tests on Branches / Frontend Mobile Tests (push) Has been skipped
Run Tests on Branches / Detect Changes (push) Successful in 12s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Parapharmacy API Tests (push) Successful in 1m31s
Run Tests on Branches / PIP Platform Tests (push) Has been skipped

This commit is contained in:
Antoni Nuñez Romeu
2026-07-17 10:22:27 +02:00
parent 22024998fa
commit a59fbda878
2 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -28,13 +28,13 @@ ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
# Copy package files
COPY package*.json ./
COPY apps/parapharmacy-api/package*.json ./
# Install dependencies (production only)
RUN npm install --omit=dev
# Copy source code
COPY src/ ./src/
COPY apps/parapharmacy-api/src/ ./src/
# Expose port
EXPOSE 3002
+4 -2
View File
@@ -89,8 +89,10 @@ services:
parapharmacy-api:
image: git.hacecalor.net/ichitux/farmafinder-parapharmacy-api:latest
build:
context: ./apps/parapharmacy-api
dockerfile: Dockerfile
context: .
dockerfile: apps/parapharmacy-api/Dockerfile
env_file:
- ./apps/parapharmacy-api/.env
restart: unless-stopped
ports:
- "3002:3002"