add dockerfile and drone config

This commit is contained in:
root committed 2019-05-30 09:36:14 +08:00
1 parent 2c1c61fb48
commit 7bf70f2ae1
2 files changed
+14

No files matched your search

+9
View 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
View 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"]