Update dependencies and fix deprecations
This commit is contained in:
parent
0d4fbef13d
commit
19d264a03b
8 changed files with 154 additions and 131 deletions
|
|
@ -8,13 +8,16 @@ RUN echo Creating dev user with UID $DEV_USER_UID && \
|
|||
USER dev
|
||||
ENV PATH="/home/dev/.local/bin:${PATH}"
|
||||
|
||||
# Don't write bytecode cache files
|
||||
ENV PYTHONDONTWRITEBYTECODE=1
|
||||
|
||||
# Install pipenv to generate requirements.txt from Pipfile
|
||||
RUN pip install pipenv
|
||||
|
||||
# Generate requirements.txt and install dependencies with pip
|
||||
WORKDIR /app
|
||||
COPY Pipfile Pipfile.lock ./
|
||||
RUN pipenv lock --requirements --dev > tmp_requirements.txt && \
|
||||
RUN pipenv requirements --dev > tmp_requirements.txt && \
|
||||
pip install -r tmp_requirements.txt
|
||||
|
||||
# Set default command
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue