add dockerfile and drone config
This commit is contained in:
parent
2c1c61fb48
commit
7bf70f2ae1
|
@ -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
|
|
@ -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