Skip to content
Snippets Groups Projects
Commit b70d04eb authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Should now build / publish front assets with runner

parent 76f98b74
No related branches found
No related tags found
No related merge requests found
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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment