fix: Dockerfile cp recursion – changelogs already COPYd in image
CI / Generate TypeScript types (push) Successful in 11s
CI / Server unit tests (push) Successful in 25s
CI / Build server (push) Successful in 37s
CI / Build client (push) Successful in 32s
CI / Playwright E2E tests (push) Successful in 1m10s
CI / Build and push Docker image (push) Successful in 40s
CI / Notify (push) Successful in 3s
CI / Generate TypeScript types (push) Successful in 11s
CI / Server unit tests (push) Successful in 25s
CI / Build server (push) Successful in 37s
CI / Build client (push) Successful in 32s
CI / Playwright E2E tests (push) Successful in 1m10s
CI / Build and push Docker image (push) Successful in 40s
CI / Notify (push) Successful in 3s
This commit is contained in:
@@ -21,9 +21,8 @@ COPY ./client/dist ./public
|
||||
# Zkopírování changelogů (seznamu novinek)
|
||||
COPY ./server/changelogs ./server/changelogs
|
||||
|
||||
# Zkopírování konfigurace easter eggů a changelogů
|
||||
RUN if [ -f ./server/.easter-eggs.json ]; then cp ./server/.easter-eggs.json ./server/; fi \
|
||||
&& if [ -d ./server/changelogs ]; then cp -r ./server/changelogs ./server/changelogs; fi
|
||||
# Zkopírování konfigurace easter eggů
|
||||
RUN if [ -f ./server/.easter-eggs.json ]; then cp ./server/.easter-eggs.json ./server/; fi
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user