Dockerfile.prod: frontend COPY-polut korjattu (src/ → ./src/)
This commit is contained in:
@@ -7,8 +7,8 @@ COPY frontend/package.json frontend/package-lock.json* ./
|
||||
RUN npm install --silent
|
||||
# Cache-buster: git hash pakottaa rebuildin kun koodi muuttuu
|
||||
ARG CACHEBUST=0
|
||||
COPY frontend/src frontend/src
|
||||
COPY frontend/public frontend/public
|
||||
COPY frontend/src/ ./src/
|
||||
COPY frontend/public/ ./public/
|
||||
COPY frontend/astro.config.mjs frontend/tsconfig.json ./
|
||||
RUN npm run build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user