Commit ce9e94f9 authored by Benoît Simonneaux's avatar Benoît Simonneaux

Add Dockerfile and GitLab CI.

parent a64b5579
Pipeline #895 passed with stage
in 1 minute and 43 seconds
image: docker:stable
services:
- docker:dind
before_script:
- docker info
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
stages:
- build
build:
stage: build
script:
- docker build -t $CI_REGISTRY_IMAGE .
- docker push $CI_REGISTRY_IMAGE:latest
FROM nginx:alpine
COPY ./public /usr/share/nginx/html
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