Fix compose
This commit is contained in:
parent
8e782e74e7
commit
cc7d3455ad
2 changed files with 5 additions and 3 deletions
|
@ -1,15 +1,17 @@
|
||||||
FROM nikolaik/python-nodejs:python3.9-nodejs15
|
FROM nikolaik/python-nodejs:python3.9-nodejs15
|
||||||
|
|
||||||
|
ENV PYTHONUNBUFFERED 1
|
||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
COPY package-lock.json .
|
COPY frontend/package-lock.json .
|
||||||
COPY frontend/package*.json ./frontend/
|
COPY frontend/package*.json ./frontend/
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
|
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
COPY app/* ./app/
|
COPY app/* ./app/
|
||||||
COPY app/API/* ./app/API/
|
COPY app/API/* ./app/API/
|
||||||
|
|
|
@ -4,4 +4,4 @@ services:
|
||||||
container_name: wulkanowy_web
|
container_name: wulkanowy_web
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
Loading…
Reference in a new issue