You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# build image and give it a name (here: streamlitapp) with: docker build --no-cache -t streamlitapp:latest --build-arg GITHUB_TOKEN=<your-github-token> . 2>&1 | tee build.log
5
5
# check if image was build: docker image ls
6
-
# run container: docker run -p 8501:8501 streamlitapp:latest
6
+
# run container: docker run -p 8501:8501 streamlitappsimple:latest
7
7
# debug container after build (comment out ENTRYPOINT) and run container with interactive /bin/bash shell
8
8
# prune unused images/etc. to free disc space (e.g. might be needed on gitpod). Use with care.: docker system prune --all --force
# GitHub token to download latest OpenMS executable for Windows from Github action artifact.
15
15
ARG GITHUB_TOKEN
@@ -19,14 +19,19 @@ ARG GITHUB_USER=OpenMS
19
19
# Streamlit app Gihub repository name (to download artifact from).
20
20
ARG GITHUB_REPO=streamlit-template
21
21
22
-
23
-
# Step 1: set up a sane build system
24
22
USER root
25
23
24
+
# Install required Ubuntu packages.
26
25
RUN apt-get -y update
27
-
# note: streamlit in docker needs libgtk2.0-dev (see https://yugdamor.medium.com/importerror-libgthread-2-0-so-0-cannot-open-shared-object-file-no-such-file-or-directory-895b94a7827b)
# GitHub token to download latest OpenMS executable for Windows from Github action artifact.
15
+
ARG GITHUB_TOKEN
16
+
ENV GH_TOKEN=${GITHUB_TOKEN}
17
+
# Streamlit app Gihub user name (to download artifact from).
18
+
ARG GITHUB_USER=OpenMS
19
+
# Streamlit app Gihub repository name (to download artifact from).
20
+
ARG GITHUB_REPO=streamlit-template
21
+
22
+
23
+
# Step 1: set up a sane build system
24
+
USER root
25
+
26
+
RUN apt-get -y update
27
+
# note: streamlit in docker needs libgtk2.0-dev (see https://yugdamor.medium.com/importerror-libgthread-2-0-so-0-cannot-open-shared-object-file-no-such-file-or-directory-895b94a7827b)
0 commit comments