Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Picasoft
Technique
Dockerfiles
Commits
99681792
Verified
Commit
99681792
authored
May 07, 2021
by
Romain De Laage De Bellefaye
🌳
Browse files
impactometre move v again
parent
44c10992
Changes
2
Hide whitespace changes
Inline
Side-by-side
impactometre/back/Dockerfile
View file @
99681792
FROM
node:14-alpine
as
build
ARG
VERSION=
v
1.2
ARG
VERSION=1.2
RUN
apk add
--no-cache
unzip
# Get the release
RUN
wget
-O
/tmp/impactometre.zip https://github.com/impactometre/impactometre-back/archive/
${
VERSION
}
.zip
RUN
wget
-O
/tmp/impactometre.zip https://github.com/impactometre/impactometre-back/archive/
v
${
VERSION
}
.zip
# Install dependencies and build Vue app
RUN
unzip
-d
/opt /tmp/impactometre.zip
&&
\
...
...
impactometre/front/Dockerfile
View file @
99681792
ARG
VERSION=
v
1.3
ARG
VERSION=1.3
# Use a multi stage build : first compile and minify JS files, then serve them with a simple nginx
FROM
node:14-alpine
as
build
...
...
@@ -6,7 +6,7 @@ ARG VERSION
RUN
apk add
--no-cache
unzip
# Get the release
RUN
wget
-O
/tmp/impactometre.zip https://github.com/impactometre/impactometre-front/archive/
${
VERSION
}
.zip
RUN
wget
-O
/tmp/impactometre.zip https://github.com/impactometre/impactometre-front/archive/
v
${
VERSION
}
.zip
# Install dependencies and build Vue app
RUN
unzip
-d
/tmp /tmp/impactometre.zip
&&
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment