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