Commit b70d04eb authored by Eliot Berriot's avatar Eliot Berriot 💬

Should now build / publish front assets with runner

parent 76f98b74
image: docker:latest
steps:
- test
- build
test_api:
stage: test
script:
- ./api/runtests
tags:
- dind
build_front:
stage: build
script:
- docker-compose -f dev.yml front rm dist/*
- docker-compose -f dev.yml front npm run build
artifacts:
paths:
- front/dist
tags:
- dind
# When using dind, it's wise to use the overlayfs driver for
# improved performance.
# variables:
......
......@@ -52,12 +52,12 @@ services:
- redis
- celeryworker
nginx:
env_file: .env.dev
build: ./api/compose/nginx
links:
- api
volumes:
- ./api/funkwhale_api/media:/staticfiles/media
ports:
- "0.0.0.0:6001:80"
# nginx:
# env_file: .env.dev
# build: ./api/compose/nginx
# links:
# - api
# volumes:
# - ./api/funkwhale_api/media:/staticfiles/media
# ports:
# - "0.0.0.0:6001:80"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment