Fixes on docker compose & Dockerfile for Parapharmacy API #42

Merged
Ichitux merged 1 commits from docker_fixes into main 2026-07-17 08:25:06 +00:00
2 changed files with 6 additions and 4 deletions
Showing only changes of commit a59fbda878 - Show all commits
+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"