From fd5bcc1967db7d22672e7c5aeb5168ec1381b45b Mon Sep 17 00:00:00 2001 From: Tarskan <55380090+Tarskan@users.noreply.github.com> Date: Wed, 13 Oct 2021 14:38:37 +0200 Subject: [PATCH] up --- .circleci/config.yml | 5 ----- Dockerfile | 6 ++---- 2 files changed, 2 insertions(+), 9 deletions(-) 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