Skip to content

Commit

Permalink
Merge pull request #1601 from Aakash3101/github-actions
Browse files Browse the repository at this point in the history
Updated docker-compose.yml and Dockerfile
  • Loading branch information
henrykironde committed Jul 5, 2021
2 parents 58b6231 + dc20ee7 commit d015a6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RUN apt-get install -y --force-yes tzdata

RUN apt-get install -y --force-yes build-essential wget git locales locales-all > /dev/null
RUN apt-get install -y --force-yes postgresql-client mariadb-client > /dev/null
RUN apt-get install -y --force-yes libpq-dev

# Set encoding
ENV LC_ALL en_US.UTF-8
Expand Down Expand Up @@ -40,6 +41,7 @@ RUN pip install flake8 -U
RUN pip install h5py
RUN pip install Pillow
RUN pip install kaggle
RUN pip install inquirer

# Install Postgis after Python is setup
RUN apt-get install -y --force-yes postgis
Expand All @@ -58,4 +60,4 @@ RUN export PGPASSFILE="~/.pgpass"
RUN chmod 600 cli_tools/.pgpass
RUN chmod 600 cli_tools/.my.cnf

CMD ["bash", "-c", "Python --version"]
CMD ["bash", "-c", "python --version"]
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ services:
python_retriever:
container_name: ret_container
image: ret_image
command: bash -c "Python --version"
command: bash -c "python --version"
environment:
# Handle tzdata install see: https://serverfault.com/a/975084
TZ: America/New_York
Expand Down

0 comments on commit d015a6d

Please sign in to comment.