Update Dockerfile
This commit is contained in:
+1
-2
@@ -8,8 +8,7 @@ WORKDIR /app
|
|||||||
|
|
||||||
# Install pip dependencies
|
# Install pip dependencies
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN python3 -m venv .venv && source .venv/bin/activate
|
RUN python3 -m venv .venv && source .venv/bin/activate && pip3 install -r requirements.txt
|
||||||
RUN pip3 install -r requirements.txt
|
|
||||||
|
|
||||||
# Copy source code
|
# Copy source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
Reference in New Issue
Block a user