Skip to content

Commit 0b9dd81

Browse files
committed
fix: export crash and restarts container when emoji used
Signed-off-by: lakshay122007 <[email protected]>
1 parent b1188a5 commit 0b9dd81

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.devcontainer/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ ARG VARIANT=14-bullseye
33
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
44

55
# [Optional] Uncomment this section to install additional OS packages.
6-
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
7-
# && apt-get -y install --no-install-recommends <your-package-list-here>
6+
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
7+
&& apt-get -y install --no-install-recommends fonts-noto fonts-noto-cjk fonts-noto-color-emoji fontconfig \
8+
&& fc-cache -f -v \
9+
&& rm -rf /var/lib/apt/lists/*
810

911
# [Optional] Uncomment if you want to install an additional version of node using nvm
1012
# ARG EXTRA_NODE_VERSION=10

.devcontainer/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ services:
1010
environment:
1111
- CMD_DB_URL=postgres://codimd:codimd@localhost/codimd
1212
- CMD_USECDN=false
13+
- QT_QPA_PLATFORM=offscreen
1314
volumes:
1415
- ..:/workspace:cached
1516
- node_modules:/workspace/node_modules:cached

0 commit comments

Comments
 (0)