Rebuilt with Alpine instead of Buster
This commit is contained in:
parent
2f10edc3f9
commit
f35fae26b6
@ -7,22 +7,22 @@ services:
|
||||
- ./interaction:/usr/src/app
|
||||
restart: always
|
||||
environment:
|
||||
- BOT_VERSION=${BOT_VERSION}
|
||||
- BEARER_TOKEN=${BEARER_TOKEN}
|
||||
- ACCESS_TOKEN=${ACCESS_TOKEN}
|
||||
- ACCESS_TOKEN_SECRET=${ACCESS_TOKEN_SECRET}
|
||||
- API_TOKEN=${API_TOKEN}
|
||||
- API_KEY_SECRET=${API_KEY_SECRET}
|
||||
- BOT_VERSION
|
||||
- BEARER_TOKEN
|
||||
- ACCESS_TOKEN
|
||||
- ACCESS_TOKEN_SECRET
|
||||
- API_TOKEN
|
||||
- API_KEY_SECRET
|
||||
perseveringbot-pos:
|
||||
build: ./posting
|
||||
volumes:
|
||||
- ./posting:/usr/src/app
|
||||
restart: always
|
||||
environment:
|
||||
- BOT_VERSION=${BOT_VERSION}
|
||||
- BEARER_TOKEN=${BEARER_TOKEN}
|
||||
- ACCESS_TOKEN=${ACCESS_TOKEN}
|
||||
- ACCESS_TOKEN_SECRET=${ACCESS_TOKEN_SECRET}
|
||||
- API_TOKEN=${API_TOKEN}
|
||||
- API_KEY_SECRET=${API_KEY_SECRET}
|
||||
- BOT_VERSION
|
||||
- BEARER_TOKEN
|
||||
- ACCESS_TOKEN
|
||||
- ACCESS_TOKEN_SECRET
|
||||
- API_TOKEN
|
||||
- API_KEY_SECRET
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM python:3.8.6-buster
|
||||
FROM python:alpine
|
||||
COPY . /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
RUN pip install --upgrade pip
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM python:3.8.6-buster
|
||||
FROM python:alpine
|
||||
COPY . /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
RUN pip install --upgrade pip
|
||||
|
@ -46,7 +46,7 @@ def get_word(syl):
|
||||
|
||||
def posting():
|
||||
words = generate_words()
|
||||
output = f'What is {words[0]}, if not {words[1]} persevering?'
|
||||
output = f'What is {words[0]} if not {words[1]} persevering?'
|
||||
print(output)
|
||||
# api.update_status(output)
|
||||
with open('/usr/src/app/post_log.txt', 'a') as logFile:
|
||||
|
Loading…
Reference in New Issue
Block a user