Skip to content
Snippets Groups Projects
Commit e408be23 authored by Jolly Pirate's avatar Jolly Pirate
Browse files

Update Dockerfile with two fixes:

- add git dependency
- remove pip3 and use python install, otherwise the db schema doesn't add when synching a fresh instance
parent 3ff1b15a
No related branches found
No related tags found
5 merge requests!456Release candidate v1 24,!261Mi livesync hot and trends2,!249Mi hot and trends livesync,!237Mi empty result for unread notification,!216Update Dockerfile with two fixes
...@@ -5,7 +5,7 @@ ENV ENVIRONMENT DEV ...@@ -5,7 +5,7 @@ ENV ENVIRONMENT DEV
ENV LOG_LEVEL INFO ENV LOG_LEVEL INFO
ENV LANG en_US.UTF-8 ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8 ENV LC_ALL en_US.UTF-8
ENV PIPENV_VENV_IN_PROJECT 1 #ENV PIPENV_VENV_IN_PROJECT 1
ARG SOURCE_COMMIT ARG SOURCE_COMMIT
ENV SOURCE_COMMIT ${SOURCE_COMMIT} ENV SOURCE_COMMIT ${SOURCE_COMMIT}
ARG SCHEMA_HASH ARG SCHEMA_HASH
...@@ -39,10 +39,11 @@ RUN \ ...@@ -39,10 +39,11 @@ RUN \
runit \ runit \
s3cmd \ s3cmd \
libpcre3 \ libpcre3 \
libpcre3-dev libpcre3-dev \
git
RUN \ #RUN \
pip3 install --upgrade pip setuptools # pip3 install --upgrade pip setuptools
ADD . /app ADD . /app
...@@ -56,7 +57,7 @@ RUN chmod +x /usr/local/bin/hivesync.sh ...@@ -56,7 +57,7 @@ RUN chmod +x /usr/local/bin/hivesync.sh
RUN chmod +x /usr/local/bin/hivesynccontinue.sh RUN chmod +x /usr/local/bin/hivesynccontinue.sh
RUN \ RUN \
pip3 install . && \ python3 setup.py build && python3 setup.py install && \
apt-get remove -y \ apt-get remove -y \
build-essential \ build-essential \
libffi-dev \ libffi-dev \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment