Template
Try to add webhook using flask
This commit is contained in:
+3
-1
@@ -21,11 +21,11 @@ RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
|
||||
# copy i18n files
|
||||
COPY --chown=bot i18n.yaml i18n/i18n.yaml
|
||||
VOLUME i18n/
|
||||
|
||||
# copy default configs
|
||||
WORKDIR /app
|
||||
COPY --chown=bot mybot mybot
|
||||
COPY --chown=bot webapp webapp
|
||||
|
||||
# preapre environment
|
||||
ENV SS_TYPE=memory
|
||||
@@ -35,3 +35,5 @@ ENV I18N_PATH=/i18n/i18n.yaml
|
||||
USER bot
|
||||
|
||||
CMD ["python3", "-m", "mybot"]
|
||||
|
||||
VOLUME i18n/
|
||||
|
||||
Reference in New Issue
Block a user