From cd82920fef427bd5f39a007c9b1a30cd15709764 Mon Sep 17 00:00:00 2001 From: taigaozawa Date: Mon, 22 Mar 2021 19:52:58 +0900 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E6=9C=AC=E8=AA=9E=E5=AF=BE=E5=BF=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 9 +++++++++ docker-compose.yml | 7 +++++++ 2 files changed, 16 insertions(+) create mode 100644 Dockerfile create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..693e186 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM node:14.15.4 + +RUN apt-get update +RUN apt-get install -y locales +RUN locale-gen ja_JP.UTF-8 +RUN localedef -f UTF-8 -i ja_JP ja_JP +ENV LANG ja_JP.UTF-8 +ENV TZ Asia/Tokyo +WORKDIR /fibonacci diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..46aad78 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +version: '3' +services: + app: + build: . + tty: true + volumes: + - .:/fibonacci