Skip to content

Commit 5e61671

Browse files
committed
update
1 parent 4c4258f commit 5e61671

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+28156
-68
lines changed

Dockerfile

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,20 @@ FROM node:18-alpine AS ui-builder
33

44
WORKDIR /app
55

6-
# Copy package manifests first from host's ui/src
7-
COPY ui/src/package.json ui/src/package-lock.json* ./
6+
# Copy package manifests first from host's ui (now in ui root)
7+
COPY ui/package.json ui/package-lock.json* ./
8+
9+
# Copy Tailwind and PostCSS configs
10+
COPY ui/tailwind.config.js ui/postcss.config.js ./
811

912
# Install dependencies
1013
RUN npm install
1114

12-
# Create the target directories for source and public files within the container
13-
RUN mkdir src public
14-
15-
# Copy contents of host's ui/public into container's /app/public
15+
# Copy public directory
1616
COPY ui/public/ ./public/
1717

18-
# Copy *specific* source files and directories from host's ui/src into container's /app/src
19-
COPY ui/src/styles ./src/styles
20-
COPY ui/src/components ./src/components
21-
COPY ui/src/contexts ./src/contexts
22-
COPY ui/src/services ./src/services
23-
COPY ui/src/App.js ./src/App.js
24-
COPY ui/src/index.js ./src/index.js
25-
18+
# Copy source files
19+
COPY ui/src/ ./src/
2620

2721
# Verify structure
2822
RUN echo "--- Contents of /app/public ---"

0 commit comments

Comments
 (0)