Skip to content

Commit 8ac28a0

Browse files
committed
Update app requirements and image build commands
- Adds 'tzdata' requirement - Run `pipenv lock` as part of container build I ran into the necessity to add this package and run `pipenv lock` to get everything to build and start properly for me. I don't think this change causes any bad effects but more eyes are welcome in case it is unnecessary.
1 parent 77585fb commit 8ac28a0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ RUN apt-get install python3 -y
1212
RUN apt-get install python3-pip -y
1313
RUN python3 -m pip install --upgrade pip
1414
RUN pip3 install pipenv
15+
RUN pipenv lock
1516
RUN pipenv requirements > requirements.txt
1617
RUN pip3 install -r requirements.txt
1718

1819
WORKDIR /home/python
19-
# RUN pipenv install --system --deploy
2020
COPY /src .
2121
COPY /gunicorn/gunicorn.py .
2222
ENV PATH="/home/python/.local/bin:${PATH}"

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ django-coverage-plugin = "*"
2727
django-extensions-models = "*"
2828
mypy = "*"
2929
django-stubs = "*"
30+
tzdata = "*"
3031

3132
[dev-packages]
3233
flake8 = "*"

0 commit comments

Comments
 (0)