Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
callidus
Machina Callida
Commits
40b24eb0
Commit
40b24eb0
authored
Jan 28, 2021
by
Konstantin Schulz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added mounted volume for version file
parent
aa0abbf8
Pipeline
#15843
failed with stages
in 1 second
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
2 deletions
+4
-2
.gitlab-ci.yml
.gitlab-ci.yml
+1
-0
deploy.sh
deploy.sh
+1
-0
docker-compose.yml
docker-compose.yml
+1
-0
mc_frontend/Dockerfile
mc_frontend/Dockerfile
+1
-2
No files found.
.gitlab-ci.yml
View file @
40b24eb0
...
...
@@ -5,6 +5,7 @@ stages:
build
:
stage
:
build
script
:
-
python3 update_version.py
-
docker-compose build
ci_frontend
:
stage
:
ci
...
...
deploy.sh
View file @
40b24eb0
python3 update_version.py
docker-compose build
docker-compose down
docker-compose up
-d
docker-compose.yml
View file @
40b24eb0
...
...
@@ -38,6 +38,7 @@ services:
stdin_open
:
true
volumes
:
-
./mc_frontend/src/assets/h5p:/home/mc/h5p
-
./mc_frontend/src/version.ts:/home/mc/version.ts
nginx
:
command
:
nginx -g "daemon off;"
image
:
nginx:alpine
...
...
mc_frontend/Dockerfile
View file @
40b24eb0
FROM
node:10.19.0-stretch
# python version in this container is 3.5.3
RUN
useradd
-ms
/bin/bash mc
...
...
@@ -17,8 +18,6 @@ RUN ng analytics off
RUN
npm
install
COPY
. .
# python version in this container is 3.5.3
RUN
python3 update_version.py
COPY
./config.xml ./www/config.xml
# workaround to fix the missing binding issue for node-sass
...
...
Write
Preview
Markdown
is supported
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