Skip to content

Commit c38b73b

Browse files
authored
Update Dockerfile
1 parent 51e0ac0 commit c38b73b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
FROM node:18-bookworm-slim as builder
22

3+
ENV TIMEZONE=Europe/Paris \
4+
LANGUAGE=fr_FR.UTF-8 \
5+
LANG=fr_FR.UTF-8 \
6+
DEBIAN_FRONTEND=noninteractive
7+
38
WORKDIR /data
49

510
COPY . .
@@ -22,6 +27,21 @@ WORKDIR /data
2227
ADD package.json .
2328
ADD *.lock .
2429

30+
RUN apt clean -y \
31+
&& apt update -y \
32+
&& apt upgrade -y \
33+
&& apt install -y locales \
34+
&& export LANGUAGE=${LANGUAGE} \
35+
&& export LANG=${LANG} \
36+
&& export LC_ALL=${LC_ALL} \
37+
&& locale-gen ${LANG} \
38+
&& dpkg-reconfigure --frontend ${DEBIAN_FRONTEND} locales \
39+
&& apt install --no-install-recommends -yq \
40+
git \
41+
jq \
42+
nano \
43+
openssl
44+
2545
RUN yarn install \
2646
--prefer-offline \
2747
--pure-lockfile \

0 commit comments

Comments
 (0)