Add tests and fix issues
This commit is contained in:
@@ -24,10 +24,7 @@ RUN poetry install --only=main --no-interaction --no-ansi
|
||||
COPY . /app
|
||||
VOLUME /app/data
|
||||
|
||||
RUN touch .streamlit/secrets.toml \
|
||||
&& toml add_section --toml-path='.streamlit/secrets.toml' 'connections.sqlite' \
|
||||
&& toml set --toml-path='.streamlit/secrets.toml' 'connections.sqlite.type' 'queries' \
|
||||
&& toml set --toml-path='.streamlit/secrets.toml' 'connections.sqlite.url' 'sqlite:///data/daily-counter.db'
|
||||
EXPOSE 8501
|
||||
|
||||
HEALTHCHECK --interval=60s --retries=5 CMD wget -qO- http://127.0.0.1:8501/_stcore/health || exit 1
|
||||
ENTRYPOINT ["/sbin/tini", "--"]
|
||||
|
||||
Reference in New Issue
Block a user