Dockerfile lint errors fix (#1493)

Fix the Dockerfile linter errors and most warnings
This commit is contained in:
TianlongLiang
2022-09-22 13:06:11 +08:00
committed by GitHub
parent ba3af0b196
commit ee210d019f
11 changed files with 102 additions and 191 deletions

View File

@ -1,9 +1,9 @@
FROM python:3.5
WORKDIR /app
ADD . /app
COPY . /app
RUN pip install django
RUN pip install django --no-cache-dir
ENTRYPOINT ["python", "manage.py", "runserver", "0.0.0.0:80"]