This commit is contained in:
parent
9941b2d03b
commit
22c0eea6ae
12
.drone.yml
12
.drone.yml
@ -6,3 +6,15 @@ steps:
|
|||||||
image: node:latest
|
image: node:latest
|
||||||
commands:
|
commands:
|
||||||
- npm install
|
- npm install
|
||||||
|
|
||||||
|
- name: docker-build
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
registry: code.anufrij.de
|
||||||
|
repo: code.anufrij.de/webplay/server
|
||||||
|
tags: latest
|
||||||
|
dockerfile: ./docker/Dockerfile
|
||||||
|
username:
|
||||||
|
from_secret: username
|
||||||
|
password:
|
||||||
|
from_secret: password
|
||||||
|
8
docker/Dockerfile
Normal file
8
docker/Dockerfile
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
FROM node:lts
|
||||||
|
|
||||||
|
RUN echo "Build WebPlay Server"
|
||||||
|
RUN apt update
|
||||||
|
RUN apt install -y --no-install-recommends ffmpeg lame
|
||||||
|
RUN git clone https://code.anufrij.de/WebPlay/server.git && cd server && npm install
|
||||||
|
|
||||||
|
WORKDIR /server
|
Loading…
Reference in New Issue
Block a user