mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-16 08:26:59 +03:00
Merge pull request #515 from PeterDaveHello/patch-1
Leave no apk cache in the Docker image
This commit is contained in:
@@ -6,11 +6,11 @@ RUN npm ci && npm run tsc
|
|||||||
|
|
||||||
FROM node:16-alpine as app
|
FROM node:16-alpine as app
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
RUN apk add git postgresql-client
|
RUN apk add --no-cache git postgresql-client
|
||||||
COPY --from=builder ./node_modules ./node_modules
|
COPY --from=builder ./node_modules ./node_modules
|
||||||
COPY --from=builder ./dist ./dist
|
COPY --from=builder ./dist ./dist
|
||||||
COPY ./.git ./.git
|
COPY ./.git ./.git
|
||||||
COPY entrypoint.sh .
|
COPY entrypoint.sh .
|
||||||
COPY databases/*.sql databases/
|
COPY databases/*.sql databases/
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
CMD ./entrypoint.sh
|
CMD ./entrypoint.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user