gpt4free-ts/Dockerfile

32 行
569 B
Docker
Raw 通常表示 履歴

2023-05-04 23:12:45 +09:00
FROM node:18.16.0
2023-05-04 22:47:53 +09:00
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json /usr/src/app/
2023-05-04 23:07:25 +09:00
RUN npm i --registry=https://registry.npm.taobao.org
2023-05-04 22:47:53 +09:00
2023-05-12 19:59:37 +09:00
RUN apt update && \
DEBIAN_FRONTEND=noninteractive apt install -y \
libnss3 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libcups2 \
libdrm2 \
libxkbcommon0 \
libxcomposite1 \
libxdamage1 \
libxfixes3 \
libxrandr2 \
libgbm1 \
libasound2 \
&& rm -rf /var/lib/apt/lists/*
2023-05-04 22:47:53 +09:00
COPY . /usr/src/app
EXPOSE 3000
CMD npm start