add the cmd in Dockfile

pull/56/head
hyh123a 2021-07-29 15:38:10 +08:00
parent d72b12363a
commit 8513544e7d
5 changed files with 5 additions and 0 deletions

View File

@ -3,3 +3,4 @@ WORKDIR /code
COPY . /code COPY . /code
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
CMD ['python', 'main.py']

View File

@ -3,3 +3,4 @@ WORKDIR /code
COPY . /code COPY . /code
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
CMD ['gunicorn', 'app:api', '-b 0.0.0.0']

View File

@ -3,3 +3,4 @@ WORKDIR /code
COPY . /code COPY . /code
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
CMD ['python', 'main.py']

View File

@ -3,3 +3,4 @@ WORKDIR /code
COPY . /code COPY . /code
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
CMD ['python', 'main.py']

View File

@ -3,3 +3,4 @@ WORKDIR /code
COPY . /code COPY . /code
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
CMD ['python', 'main.py']