diff --git a/Dockerfile b/Dockerfile index 251eb13..c122e11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,7 @@ -FROM node:lts-fermium -LABEL maintainer="TP FINAL" +FROM node:latest -WORKDIR /repo +COPY . . -COPY . /repo +RUN yarn install -RUN yarn install - -RUN yarn build - -ENTRYPOINT [ "yarn", "start:prod" ] +ENTRYPOINT [ "yarn", "start" ]