mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Use apk add with --no-cache in Dockerfile to minimize image size
This commit is contained in:
parent
4b3374f400
commit
92c0531ffd
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ FROM node:14.18-alpine as builder
|
|||
WORKDIR /app
|
||||
|
||||
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
|
||||
RUN apk add g++ make python3
|
||||
RUN apk add --no-cache g++ make python3
|
||||
|
||||
COPY package.json .
|
||||
COPY yarn.lock .
|
||||
|
|
@ -53,7 +53,7 @@ COPY --from=builder /app/packages/content-handler/ /app/packages/content-handler
|
|||
COPY --from=builder /app/packages/db/ /app/packages/db/
|
||||
COPY --from=builder /app/selfhost.sh /app/selfhost.sh
|
||||
|
||||
RUN apk add postgresql-client
|
||||
RUN apk add --no-cache postgresql-client
|
||||
RUN chmod 0755 /app/selfhost.sh
|
||||
|
||||
EXPOSE 8080
|
||||
|
|
|
|||
Loading…
Reference in a new issue