removed redundant command sfrom Dockerfile

This commit is contained in:
2019-10-31 23:47:32 +01:00
parent bb70c8aad5
commit edb958c24c
2 changed files with 2 additions and 1 deletions

View File

@@ -3,3 +3,5 @@ COPY requirements.txt /tmp
RUN pip install -r /tmp/requirements.txt RUN pip install -r /tmp/requirements.txt
COPY . /tmp/personal_api COPY . /tmp/personal_api
RUN pip install -e /tmp/personal_api RUN pip install -e /tmp/personal_api
ENV PERSONAL_API_SQLALCHEMY_DATABASE_URL postgresql://doadmin:q606mxj40xfltziw@zev-api-db-do-user-246213-0.db.ondigitalocean.com:25060/defaultdb
CMD gunicorn -w 4 -k uvicorn.workers.UvicornWorker personal_api.main:app -b 0.0.0.0

View File

@@ -24,7 +24,6 @@ services:
app: app:
build: build:
context: ./ context: ./
dockerfile: Dockerfile
image: personal_api:0.0.1 image: personal_api:0.0.1
container_name: personal_api container_name: personal_api
env_file: env_file: