From b748adc8a935e2a1ad4c17b9775d55d4097c41d1 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Sun, 1 Sep 2024 16:01:31 +0300 Subject: [PATCH] fixed Dockerfile --- .droneignore => .dokerignore | 6 +++++- Dockerfile | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) rename .droneignore => .dokerignore (59%) diff --git a/.droneignore b/.dokerignore similarity index 59% rename from .droneignore rename to .dokerignore index ec9e4c7a4..d38bd58a1 100644 --- a/.droneignore +++ b/.dokerignore @@ -1,4 +1,7 @@ +.git/ +.github/ .drone.yml +.gitattributes .idea/ .vscode/ *.swp @@ -9,4 +12,5 @@ Thumbs.db *.md docs/ .gitignore -LICENSE.txt \ No newline at end of file +LICENSE.txt +CODE_OF_CONDUCT.md \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index df25586b2..588c8ebbc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,8 @@ COPY package.json . COPY package-lock.json* . RUN npm ci -FROM node:20-slim +FROM node:20-alpine WORKDIR /usr/src/app COPY --from=builder /usr/src/app/ /usr/src/app/ COPY . . -CMD ["npx", "quartz"] +CMD ["npx", "quartz"] \ No newline at end of file