Skip to content

Commit 0ced78d

Browse files
authored
Merge pull request #515 from PeterDaveHello/patch-1
Leave no apk cache in the Docker image
2 parents 1e2437b + f1005fe commit 0ced78d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ RUN npm ci && npm run tsc
66

77
FROM node:16-alpine as app
88
WORKDIR /usr/src/app
9-
RUN apk add git postgresql-client
9+
RUN apk add --no-cache git postgresql-client
1010
COPY --from=builder ./node_modules ./node_modules
1111
COPY --from=builder ./dist ./dist
1212
COPY ./.git ./.git
1313
COPY entrypoint.sh .
1414
COPY databases/*.sql databases/
1515
EXPOSE 8080
16-
CMD ./entrypoint.sh
16+
CMD ./entrypoint.sh

0 commit comments

Comments
 (0)