Added dockerfile

This commit is contained in:
konrad 2018-09-08 17:56:45 +02:00
parent e5c3316ad4
commit 78a6c3f4e2
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 16 additions and 0 deletions

View file

@ -64,3 +64,13 @@ pipeline:
event: [ push ] event: [ push ]
branch: [ master ] branch: [ master ]
# Build the docker image and push it to docker hub
docker:
image: plugins/docker
pull: true
secrets: [ docker_username, docker_password ]
repo: vikunja/frontend
auto_tag: true
when:
event: [ push, tag ]
branch: [ master ]

6
Dockerfile Normal file
View file

@ -0,0 +1,6 @@
FROM nginx
MAINTAINER maintainers@vikunja.io
COPY dist /usr/share/nginx/html
RUN rm /usr/share/nginx/html/js/*.map