From cd0c471be9ac689e3acd2784f854b62ebb1fe6a3 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Wed, 11 Aug 2021 23:01:44 +0200 Subject: [PATCH] add volume --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 216039a..4367393 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ -FROM node:15.8.0-alpine3.10 +FROM node:16-alpine3.11 RUN mkdir -p /usr/src/athena + WORKDIR /usr/src/athena COPY . /usr/src/athena @@ -11,10 +12,10 @@ RUN yarn build WORKDIR /usr/src/athena/build -COPY . /usr/src/athena/build - RUN yarn install --production EXPOSE 5555 +COPY . . + CMD ["yarn", "start"]