Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
website
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
Container registry
Model registry
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai
website
Commits
a4881fd1
Commit
a4881fd1
authored
3 years ago
by
sub
Browse files
Options
Downloads
Patches
Plain Diff
probably the best compromise?
parent
e658dda4
No related branches found
No related tags found
1 merge request
!29
tested new way of building the ASSET image, from scratch bullseye with npm from the official script
Pipeline
#23246
passed
3 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+1
-4
1 addition, 4 deletions
Dockerfile
with
1 addition
and
4 deletions
Dockerfile
+
1
−
4
View file @
a4881fd1
...
@@ -2,10 +2,7 @@ FROM debian:bullseye-slim AS assets
...
@@ -2,10 +2,7 @@ FROM debian:bullseye-slim AS assets
ADD
. /src
ADD
. /src
WORKDIR
/src
WORKDIR
/src
RUN
apt-get
-q
update
&&
env
DEBIAN_FRONTEND
=
noninteractive apt-get
-qy
install
--no-install-recommends
curl ca-certificates nodejs
RUN
apt-get
-q
update
&&
env
DEBIAN_FRONTEND
=
noninteractive apt-get
-qy
install
--no-install-recommends
curl ca-certificates nodejs npm
RUN
curl
-qL
https://www.npmjs.com/install.sh | sh
RUN
npm
install
--save
core-js@3.3
RUN
npm
install
--save
css-loader@6.5.0
RUN
npm update
RUN
npm update
RUN
npm
install
RUN
npm
install
RUN
./node_modules/.bin/webpack
RUN
./node_modules/.bin/webpack
...
...
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