Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Hiboo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AF
Hiboo
Commits
4363655b
Commit
4363655b
authored
5 months ago
by
f00wl
Browse files
Options
Downloads
Plain Diff
Merge branch '118-mettre-a-jour-les-images-docker' into 'dev'
Resolve "Mettre à jour les images docker" Closes
#118
See merge request
!88
parents
05b85356
ae30b893
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+12
-12
12 additions, 12 deletions
Dockerfile
with
12 additions
and
12 deletions
Dockerfile
+
12
−
12
View file @
4363655b
FROM
python:3.1
0
AS
python_build
FROM
python:3.1
2
AS
python_build
ENV
POETRY_HOME=/usr/local
COPY
pyproject.toml poetry.lock ./
RUN
apt-get update
\
&&
apt-get
install
-y
--no-install-recommends
\
python3-dev libxmlsec1 libxmlsec1-dev
\
libpq-dev libmariadb-dev
\
&&
rm
-rf
/var/cache/apt
&&
apt-get
install
-y
--no-install-recommends
\
python3-dev libxmlsec1 libxmlsec1-dev
\
libpq-dev libmariadb-dev
\
&&
rm
-rf
/var/cache/apt
RUN
curl
-sSL
https://install.python-poetry.org | python3 -
RUN
poetry config virtualenvs.create
false
\
&&
poetry
install
--with
prod
FROM
node:b
uster
AS
assets_build
FROM
node:b
ookworm
AS
assets_build
COPY
package-lock.json package.json webpack.config.js /
RUN
npm ci
COPY
assets /assets
RUN
/node_modules/.bin/webpack-cli
FROM
python:3.1
0
-slim
FROM
python:3.1
2
-slim
RUN
apt-get update
\
&&
apt-get
install
-y
--no-install-recommends
\
zlib1g libfreetype6 libjpeg62-turbo libopenjp2-7 libtiff6 liblcms2-2
\
libpq5 libmariadb3 libxmlsec1 xmlsec1
\
&&
rm
-rf
/var/cache/apt
\
&&
mkdir
/app
&&
apt-get
install
-y
--no-install-recommends
\
zlib1g libfreetype6 libjpeg62-turbo libopenjp2-7 libtiff6 liblcms2-2
\
libpq5 libmariadb3 libxmlsec1 xmlsec1
\
&&
rm
-rf
/var/cache/apt
\
&&
mkdir
/app
WORKDIR
/app
COPY
--from=python_build /usr/local/ /usr/local/
...
...
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