Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
shiny-k8s-example
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hub
shiny-k8s-example
Commits
f31d69d8
Commit
f31d69d8
authored
1 year ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Patches
Plain Diff
lighter image, add link to doc for base image, pin shiny-server
parent
8b5579b2
No related branches found
No related tags found
1 merge request
!8
lighter image, add link to doc for base image
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+8
-8
8 additions, 8 deletions
Dockerfile
with
8 additions
and
8 deletions
Dockerfile
+
8
−
8
View file @
f31d69d8
# Build image from the base image, previously configured for you
# Build image from the base image, previously configured for you
#
FROM registry-gitlab.pasteur.fr/hub/shiny-k8s/python:3.11-slim-bullseye
#
Full list of images can be found at
#
FROM registry-gitlab
.pasteur.fr/
hub/
shiny-k8s/
python:3.10-slim-bullseye
#
https://hub.pages
.pasteur.fr/shiny-k8s/
user_guide/configure_image.html#image-list
FROM
registry-gitlab.pasteur.fr/hub/shiny-k8s/python:3.9-slim-bullseye
FROM
registry-gitlab.pasteur.fr/hub/shiny-k8s/python:3.9-slim-bullseye
--1.5.22.1017
# Add workdir information
# Add workdir information
WORKDIR
/srv/shiny-server/
WORKDIR
/srv/shiny-server/
#
i
nstall additional dependencies, comment the block if you
don't
have one
#
I
nstall additional dependencies,
un
comment the block if you have one
, and edit/duplicate line 12
RUN
apt-get update
\
#
RUN apt-get update \
&&
apt-get
install
-y
\
#
&& apt-get install -y \
wget
\
#
your-system-dependency
\
&&
rm
-rf
/var/lib/apt/lists/
*
#
&& rm -rf /var/lib/apt/lists/*
# Copy your dependencies, destination filename must be "packages_to_install.csv"
# Copy your dependencies, destination filename must be "packages_to_install.csv"
COPY
./requirements.txt /opt/scripts/requirements.txt
COPY
./requirements.txt /opt/scripts/requirements.txt
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment