Copy with wildcard to ignore missing files - fixes #3
This commit is contained in:
parent
99089683af
commit
b2059e78a7
|
@ -8,11 +8,8 @@ RUN pipenv install --pre
|
||||||
COPY bot.py .
|
COPY bot.py .
|
||||||
COPY modules modules
|
COPY modules modules
|
||||||
|
|
||||||
# Make sure these exist
|
# googlecal: copy credentials.json and token.pickle if they exist
|
||||||
RUN touch credentials.json
|
COPY *.json .
|
||||||
RUN touch token.pickle
|
COPY *.pickle .
|
||||||
|
|
||||||
COPY credentials.json .
|
|
||||||
COPY token.pickle .
|
|
||||||
|
|
||||||
CMD [ "pipenv", "run", "python", "-u", "./bot.py" ]
|
CMD [ "pipenv", "run", "python", "-u", "./bot.py" ]
|
||||||
|
|
Loading…
Reference in New Issue