mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-14 15:37:07 +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
|
||||
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 ./dist ./dist
|
||||
COPY ./.git ./.git
|
||||
COPY entrypoint.sh .
|
||||
COPY databases/*.sql databases/
|
||||
EXPOSE 8080
|
||||
CMD ./entrypoint.sh
|
||||
CMD ./entrypoint.sh
|
||||
|
||||
Reference in New Issue
Block a user