mirror of
https://github.com/tiennm99/caro.git
synced 2026-09-02 16:19:13 +00:00
fix(client): drop stale COPY public in Dockerfile
docker build failed with "/public: not found" at the client stage. The client tree has never contained a public/ directory (vite doesn't need one for this project — index.html lives at the client root and vite.config.js has no publicDir override). Remove the dead COPY line. Verified: docker build -f client/Dockerfile client succeeds end-to-end.
This commit is contained in:
@@ -6,7 +6,6 @@ COPY package.json package-lock.json ./
|
||||
RUN npm ci
|
||||
|
||||
COPY index.html vite.config.js ./
|
||||
COPY public public
|
||||
COPY src src
|
||||
RUN npm run build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user