Skip to content

Commit

Permalink
ci: add missing dependency on container
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainLanz committed Dec 15, 2024
1 parent f2974dd commit e6d922a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:lts-bookworm-slim AS base
WORKDIR /app
RUN apt update
RUN apt install -y curl wget
RUN apt install -y curl wget fontconfig
RUN rm -rf /var/lib/apt/lists/*

# Base installer
Expand All @@ -26,6 +26,7 @@ RUN node ace build --ignore-ts-errors
# Production stage
FROM base
ENV NODE_ENV=production
ENV FONTCONFIG_PATH=/etc/fonts
COPY --from=production-deps /app/node_modules /app/node_modules
COPY --from=build /app/apps/romainlanz.com/build /app
EXPOSE 8080
Expand Down

0 comments on commit e6d922a

Please sign in to comment.