Added dockerfile
This commit is contained in:
parent
e5c3316ad4
commit
78a6c3f4e2
2 changed files with 16 additions and 0 deletions
10
.drone.yml
10
.drone.yml
|
@ -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
6
Dockerfile
Normal 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
|
Loading…
Reference in a new issue