-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #654 from upconsulting/develop
Python3 (#653)
- Loading branch information
Showing
200 changed files
with
5,606 additions
and
2,661 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
packages: | ||
yum: | ||
git: [] | ||
postgresql93-devel: [] | ||
freetype-devel: [] | ||
libpng-devel: [] | ||
zlib-devel: [] | ||
libjpeg-turbo-devel: [] | ||
mod24_ssl : [] | ||
openssl-devel: [] | ||
libcurl: [] | ||
libcurl-devel: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
echo 'Installing packages' | ||
|
||
amazon-linux-extras enable postgresql11 | ||
yum clean metadata | ||
yum install postgresql11-devel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
FROM python:2.7-onbuild | ||
FROM python:3.6-buster | ||
|
||
ENV DJANGO_SETTINGS_MODULE=isiscb.production_settings | ||
|
||
RUN mkdir -p /var/logs/ && touch /var/logs/celery-worker.log | ||
|
||
EXPOSE 80 | ||
COPY isiscb/ ./isiscb | ||
COPY requirements.txt . | ||
RUN pip install -r requirements.txt | ||
|
||
# Docker/AWS requests this although we don't need it? | ||
EXPOSE 80 | ||
WORKDIR isiscb | ||
CMD ["celery", "worker", "-A", "isiscb", "--loglevel=INFO", "-f", "/var/logs/celery-worker.log", "-E", "-P", "solo"] |
Oops, something went wrong.