From 8c8362150abbfd8944a7fc1ef36c7317bc80f12c Mon Sep 17 00:00:00 2001 From: "saito.k" Date: Wed, 13 Sep 2023 15:56:35 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=87=E3=83=97=E3=83=AD=E3=82=A4=E3=81=A7?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E3=81=99=E3=82=8BdockerFile=E3=81=AEnode?= =?UTF-8?q?=E3=81=AE=E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7=E3=83=B3=E3=82=92?= =?UTF-8?q?=E9=96=8B=E7=99=BA=E7=92=B0=E5=A2=83=E3=81=A8=E5=90=88=E3=82=8F?= =?UTF-8?q?=E3=81=9B=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DockerfileServerDictation.dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DockerfileServerDictation.dockerfile b/DockerfileServerDictation.dockerfile index fa06e84..aa666ba 100644 --- a/DockerfileServerDictation.dockerfile +++ b/DockerfileServerDictation.dockerfile @@ -1,14 +1,14 @@ -FROM node:18.13.0-buster AS build-container +FROM node:18.17.1-buster AS build-container WORKDIR /app RUN mkdir dictation_server COPY dictation_server/ dictation_server/ -RUN npm install --force -g n && n 18.13.0 \ +RUN npm install --force -g n && n 18.17.1 \ && cd dictation_server \ && npm ci \ && npm run build \ && cd .. -FROM node:18.13.0-alpine +FROM node:18.17.1-alpine RUN apk --no-cache add tzdata \ && cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime \ && apk del tzdata \ @@ -20,4 +20,4 @@ RUN mkdir build \ COPY --from=build-container app/dictation_server/dist/ dist/ COPY --from=build-container app/dictation_server/.env ./ COPY --from=build-container app/dictation_server/node_modules/ node_modules/ -CMD ["node", "./dist/main.js" ] \ No newline at end of file +CMD ["node", "./dist/main.js" ]