-
-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (25 loc) · 598 Bytes
/
Dockerfile
File metadata and controls
29 lines (25 loc) · 598 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM node:22.0
RUN \
apt-get update \
&& \
apt-get install -y \
libx11-xcb1 \
libxtst6 \
libnss3 \
libxss1 \
libasound2 \
libatk-bridge2.0-0 \
libgtk-3-0 \
libdrm2 \
libgbm1 \
fonts-wqy-zenhei \
&& \
rm -rf /var/lib/apt/lists/*
RUN \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
&& \
/root/.cargo/bin/cargo install oxipng
WORKDIR /app
EXPOSE 3000
CMD [ "npm", "run", "installandstartdev" ]
HEALTHCHECK CMD curl -f http://localhost:3000/health || exit 1