fixed Dockerfile
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
|
.git/
|
||||||
|
.github/
|
||||||
.drone.yml
|
.drone.yml
|
||||||
|
.gitattributes
|
||||||
.idea/
|
.idea/
|
||||||
.vscode/
|
.vscode/
|
||||||
*.swp
|
*.swp
|
||||||
@@ -9,4 +12,5 @@ Thumbs.db
|
|||||||
*.md
|
*.md
|
||||||
docs/
|
docs/
|
||||||
.gitignore
|
.gitignore
|
||||||
LICENSE.txt
|
LICENSE.txt
|
||||||
|
CODE_OF_CONDUCT.md
|
||||||
@@ -4,8 +4,8 @@ COPY package.json .
|
|||||||
COPY package-lock.json* .
|
COPY package-lock.json* .
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
||||||
FROM node:20-slim
|
FROM node:20-alpine
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY --from=builder /usr/src/app/ /usr/src/app/
|
COPY --from=builder /usr/src/app/ /usr/src/app/
|
||||||
COPY . .
|
COPY . .
|
||||||
CMD ["npx", "quartz"]
|
CMD ["npx", "quartz"]
|
||||||
Reference in New Issue
Block a user