Skip to content

Commit

Permalink
test handling minification docker compose prod 4
Browse files Browse the repository at this point in the history
  • Loading branch information
DavyR01 committed Aug 11, 2024
1 parent 8f55fc9 commit 05c4b87
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN corepack prepare pnpm@8.15.4 --activate

WORKDIR /app

COPY --from=builder /app/dist/ /app/dist/
COPY --from=builder /app/dist ./dist
RUN ls -la /app/dist/

COPY package.json ./
Expand Down
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ services:
depends_on:
db:
condition: service_healthy
redis:
condition: service_healthy

frontend:
build:
Expand Down Expand Up @@ -68,12 +70,22 @@ services:

redis:
image: redis
restart: always
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5

redis-commander:
image: rediscommander/redis-commander
environment:
- REDIS_HOSTS=redis
ports:
- "8081:8081"
depends_on:
redis:
condition: service_healthy

volumes:
pgdata_new1:

0 comments on commit 05c4b87

Please sign in to comment.