-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Containerized the AutoTweetLiker application
Signed-off-by: cankush625 <[email protected]>
- Loading branch information
1 parent
f47789a
commit ce3f7aa
Showing
17 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,8 @@ | ||
FROM python:3.7-alpine | ||
|
||
ENV PYTHONONBUFFERED 1 | ||
|
||
RUN mkdir /code | ||
WORKDIR /code | ||
COPY . /code/ | ||
RUN pip install -r requirements.txt |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-32 Bytes
(80%)
auto_tweet_liker/migrations/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: '3' | ||
|
||
services: | ||
web: | ||
build: . | ||
# Exporting CONSUMER KEY and CONSUMER SECRET key from tweeter api as an environment variable | ||
command: sh -c "export CONS_KEY="" | ||
&& export CONS_SECRET="" | ||
&& python manage.py runserver 0.0.0.0:8000" | ||
volumes: | ||
- .:/code | ||
ports: | ||
- "8000:8000" |
Binary file not shown.