This commit is contained in:
Luke Gustafson
2024-11-27 00:29:56 +00:00
parent e159477406
commit a2591b37c8
5 changed files with 7862 additions and 3 deletions

View File

@@ -1,4 +1,3 @@
# Combined Frontend and Backend Setup
FROM node:18-slim AS combined-build
WORKDIR /app
@@ -12,7 +11,7 @@ RUN npm run build
# Copy frontend build output to /app directory
WORKDIR /app
RUN mkdir -p /app/public
COPY --from=combined-build /app/frontend/dist /app/public
COPY /app/frontend/dist /app/public
# Setup backend
COPY backend/package*.json ./