-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (26 loc) · 829 Bytes
/
Copy pathDockerfile
File metadata and controls
26 lines (26 loc) · 829 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
FROM node:14.3.0-buster-slim AS build
RUN apt-get update && \
apt-get install -y libwoff1 \
libopus0 \
libwebp6 \
libwebpdemux2 \
libenchant1c2a \
libgudev-1.0-0 \
libsecret-1-0 \
libhyphen0 \
libgdk-pixbuf2.0-0 \
libegl1 \
libnotify4 \
libxslt1.1 \
libevent-2.1-6 \
libgles2 \
libvpx5 \
libnss3 \
libxss1 \
libasound2
USER node
WORKDIR /home/node
COPY package.json package-lock.json ./
RUN npm install
COPY . .
CMD [ "npm", "start" ]