Rebuilt with Alpine instead of Buster
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user