Skip to content

Commit a6a980a

Browse files
committed
fix dockerfile codefactor issues
1 parent 2f34b35 commit a6a980a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docker/docs/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
FROM --platform=linux/amd64 python:3.10.5
1+
FROM python:3.10.5
22

33
# SET WORKING DIRECTORY
44
WORKDIR /app_code
55

66
# Update pip
7-
RUN pip install --upgrade pip
7+
RUN pip install --upgrade --no-cache-dir pip
88

99
# Copy application code into a directory called 'app_code'
1010
# This copy includes pyproject.toml and poetry.lock
1111
COPY ./documentation /app_code
1212

1313
# Installing requirements
14-
RUN pip install -r /app_code/requirements.txt
14+
RUN pip install --no-cache-dir -r /app_code/requirements.txt

0 commit comments

Comments
 (0)