Prepared Dockerfile for image creation
This commit is contained in:
parent
3d99abb7c8
commit
7c06a0eb00
@ -3,12 +3,11 @@ FROM python:3.10-alpine
|
||||
LABEL maintainer="s.zhukovskii@ispsystem.com"
|
||||
LABEL ru.isptech.git.isp_support.version=v0.0.1
|
||||
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN pip install --no-cache-dir --root-user-action=ignore -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD [ "python", "./main.py" ]
|
||||
CMD [ "python", "main.py" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user