Added dockerfile

This commit is contained in:
konrad 2018-09-08 17:56:45 +02:00
parent e5c3316ad4
commit 78a6c3f4e2
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 16 additions and 0 deletions

View File

@ -64,3 +64,13 @@ pipeline:
event: [ push ]
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