add dockerfile and drone config
This commit is contained in:
parent
2c1c61fb48
commit
7bf70f2ae1
9
.drone.yml
Normal file
9
.drone.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
pipeline:
|
||||||
|
docker:
|
||||||
|
image: plugins/docker
|
||||||
|
registry: docker.mtfos.xyz
|
||||||
|
repo: docker.mtfos.xyz/mtfos/node-iglook
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
tags: [latest, "${DRONE_COMMIT}"]
|
||||||
|
when:
|
||||||
|
branch: release
|
5
Dockerfile
Normal file
5
Dockerfile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM node:lts-alpine
|
||||||
|
WORKDIR /data
|
||||||
|
COPY . .
|
||||||
|
RUN apk add --no-cache curl ca-certificates && npm install
|
||||||
|
CMD ["npm", "start"]
|
Loading…
Reference in New Issue
Block a user