Skip to content

Commit

Permalink
remove unneeded apk updates
Browse files Browse the repository at this point in the history
  • Loading branch information
morteako committed Nov 5, 2024
1 parent 1c1ce66 commit b64ef48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions apps/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:20-alpine AS base

FROM base AS builder
RUN apk add --no-cache libc6-compat
RUN apk update

# Set working directory
WORKDIR /app
RUN yarn config set prefix ~/.yarn
Expand All @@ -13,7 +13,6 @@ RUN yarn run turbo prune --scope=@dundring/backend --docker
# Add lockfile and package.json's of isolated subworkspace
FROM base AS installer
RUN apk add --no-cache libc6-compat
RUN apk update
WORKDIR /app

# First install dependencies (as they change less often)
Expand Down
3 changes: 1 addition & 2 deletions apps/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:20-alpine AS base

FROM base AS builder
RUN apk add --no-cache libc6-compat
RUN apk update

# Set working directory
WORKDIR /app
RUN yarn config set prefix ~/.yarn
Expand All @@ -14,7 +14,6 @@ RUN yarn run turbo prune --scope=@dundring/frontend --docker
# Add lockfile and package.json's of isolated subworkspace
FROM base AS installer
RUN apk add --no-cache libc6-compat
RUN apk update
WORKDIR /app

# First install dependencies (as they change less often)
Expand Down

0 comments on commit b64ef48

Please sign in to comment.