synetube / Dockerfile
GPTfree api
Create Dockerfile
4596999 verified
raw
history blame contribute delete
453 Bytes
# ベースイメージ
FROM node:14
# 作業ディレクトリの設定
WORKDIR /usr/src/app
# 必要なソフトウェアをインストール
RUN apt-get update && apt-get install -y git && apt-get clean
# リポジトリをクローン
RUN git clone https://github.com/RblSb/SyncTube.git .
# 依存関係のインストール
RUN npm install ws
# 必要なポートを開放
EXPOSE 4200
# サーバーを実行
CMD ["node", "build/server.js"]