Merge pull request 'Fixes on docker compose & Dockerfile for Parapharmacy API' (#42) from docker_fixes into main
Build & Push Docker Images / Detect Changes (push) Successful in 13s
Build & Push Docker Images / Backend Tests (push) Has been skipped
Build & Push Docker Images / Parapharmacy API Tests (push) Successful in 1m37s
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 Parapharmacy API (push) Successful in 1m24s
Build & Push Docker Images / Build Pip Platform (push) Has been skipped
Build & Push Docker Images / Build Frontend (push) Has been skipped
Build & Push Docker Images / Deploy (push) Has been skipped
Build & Push Docker Images / Detect Changes (push) Successful in 13s
Build & Push Docker Images / Backend Tests (push) Has been skipped
Build & Push Docker Images / Parapharmacy API Tests (push) Successful in 1m37s
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 Parapharmacy API (push) Successful in 1m24s
Build & Push Docker Images / Build Pip Platform (push) Has been skipped
Build & Push Docker Images / Build Frontend (push) Has been skipped
Build & Push Docker Images / Deploy (push) Has been skipped
Reviewed-on: #42
This commit was merged in pull request #42.
This commit is contained in:
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user