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 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 # When using dind, it's wise to use the overlayfs driver for
# improved performance. # improved performance.
# variables: # variables:
......
...@@ -52,12 +52,12 @@ services: ...@@ -52,12 +52,12 @@ services:
- redis - redis
- celeryworker - celeryworker
nginx: # nginx:
env_file: .env.dev # env_file: .env.dev
build: ./api/compose/nginx # build: ./api/compose/nginx
links: # links:
- api # - api
volumes: # volumes:
- ./api/funkwhale_api/media:/staticfiles/media # - ./api/funkwhale_api/media:/staticfiles/media
ports: # ports:
- "0.0.0.0:6001:80" # - "0.0.0.0:6001:80"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment