fix server build order

This commit is contained in:
Alex Holliday committed 2025-09-08 20:27:20 -07:00
1 parent 5520756edd
commit 5bad362793
2 files changed
+6 -5

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
services:
server:
image: ghcr.io/bluewave-labs/checkmate-backend-mono:latest
pull_policy: always
restart: always
ports:
- "52345:52345"
+5 -5
View File
@@ -1,10 +1,5 @@
FROM node:20-slim AS frontend-build
# Install ping
RUN apt-get update \
&& apt-get install -y iputils-ping \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app/client
COPY client/package*.json ./
@@ -15,6 +10,11 @@ RUN npm run build
FROM node:20-slim AS app
# Install ping
RUN apt-get update \
&& apt-get install -y iputils-ping \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app/server
COPY server ./