Fix some errors
This commit is contained in:
@ -10,9 +10,9 @@ WORKDIR /usr/src/app
|
||||
|
||||
# install dependencies
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install pipenv
|
||||
COPY ./Pipfile /usr/src/app/Pipfile
|
||||
RUN pipenv install --skip-lock --system --dev
|
||||
|
||||
COPY ./requirements.txt /usr/src/app/requirements.txt
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
# copy project
|
||||
COPY . /usr/src/app/
|
||||
@ -22,5 +22,5 @@ RUN git clone https://github.com/vishnubob/wait-for-it.git /wait-for-it
|
||||
RUN chmod a+x /wait-for-it/wait-for-it.sh
|
||||
|
||||
# add entry point
|
||||
COPY ./django-entrypoint.sh /django-entrypoint.sh
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
COPY ./django-entrypoint.sh django-entrypoint.sh
|
||||
ENTRYPOINT ["./django-entrypoint.sh"]
|
||||
|
Reference in New Issue
Block a user