From cc7d3455ad44af6bc1888a2c85995b5a39f22a3a Mon Sep 17 00:00:00 2001 From: MRmlik12 Date: Wed, 7 Apr 2021 10:33:38 +0200 Subject: [PATCH] Fix compose --- Dockerfile | 6 ++++-- docker-compose.yml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7ec125d..ff4535f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,17 @@ FROM nikolaik/python-nodejs:python3.9-nodejs15 +ENV PYTHONUNBUFFERED 1 + WORKDIR /src -COPY package-lock.json . +COPY frontend/package-lock.json . COPY frontend/package*.json ./frontend/ RUN npm install COPY requirements.txt . -RUN pip install --no-cache-dir -r requirements.txt +RUN pip install -r requirements.txt COPY app/* ./app/ COPY app/API/* ./app/API/ diff --git a/docker-compose.yml b/docker-compose.yml index 7d921ce..1de24f3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,4 +4,4 @@ services: container_name: wulkanowy_web build: . ports: - - "8000:8000" \ No newline at end of file + - "8000:8000" \ No newline at end of file