Skip to content

Commit

Permalink
[Issue #2713] Update Ubuntu version on frontend container (#2714)
Browse files Browse the repository at this point in the history
## Summary

Fixes #2713

### Time to review: __1 mins__

## Context for reviewers

Someone (preferably a frontend person) will need to retest the frontend
to make sure it's not broken
  • Loading branch information
coilysiren authored Nov 4, 2024
1 parent f1081a0 commit f5066c5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is largely based on the template-application-flask Dockerfile and
# Next.js Docker example: https://github.com/vercel/next.js/blob/canary/examples/with-docker-compose
# =============================================================================
FROM node:20-bullseye-slim AS base
FROM node:20-bookworm-slim AS base
WORKDIR /frontend

# Install dependencies
Expand Down Expand Up @@ -66,10 +66,10 @@ WORKDIR /frontend

# Update system and install security updates
RUN apt-get update \
&& apt-get upgrade -y --no-install-recommends \
&& apt-get install -y --only-upgrade libc-bin libc6 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
&& apt-get upgrade -y --no-install-recommends \
&& apt-get install -y --only-upgrade libc-bin libc6 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

RUN mkdir -p /frontend/.next/cache/images/
VOLUME ["/frontend/.next/cache/images/"]
Expand Down

0 comments on commit f5066c5

Please sign in to comment.