diff --git a/.circleci/config.yml b/.circleci/config.yml index f57c12d..c53ae36 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,11 +70,6 @@ jobs: POSTGRES_USER: root POSTGRES_DB: db POSTGRES_PASSWORD: test - - image: cimg/node:14.15.0 # the primary container, where your job's commands are run - auth: - username: $AUTH_DOCKER - password: $PSW_DOCKER # context / project UI env-var reference - environment: DATABASE_URL: postgres://root:test@localhost:5432/db steps: - checkout diff --git a/Dockerfile b/Dockerfile index 70fc178..0afb507 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,10 +3,8 @@ LABEL maintainer="TP2" WORKDIR /app -COPY package.json /app +COPY . /app RUN yarn install -COPY . /app - -RUN yarn start \ No newline at end of file +ENTRYPOINT [ "yarn", "start" ] \ No newline at end of file