Commit
This commit is contained in:
1 parent
e159477406
commit
a2591b37c8
5 files changed
+7862
-3
No files matched your search
+1
-2
@@ -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 ./
|
||||
|
||||
Reference in new issue
Block a user