refactor: 🚨 Consolidate consecutive RUN calls

This commit is contained in:
Jesse Wierzbinski 2024-10-03 13:43:19 +02:00
parent 3fade63567
commit bec3e4ea70
No known key found for this signature in database
2 changed files with 5 additions and 6 deletions

View file

@ -28,10 +28,10 @@ WORKDIR /temp/dist
# Copy production dependencies and source code into final image
FROM oven/bun:1.1.29-alpine
RUN apk add --no-cache libstdc++^14.0.0
# Install libstdc++ for Bun and create app directory
RUN apk add --no-cache libstdc++^14.0.0 &&
mkdir -p /app
# Create app directory
RUN mkdir -p /app
COPY --from=build /temp/dist /app/dist
COPY entrypoint.sh /app