Set up Drone CI #221

Merged
raucao merged 2 commits from feature/ci_setup into master 2022-08-09 14:39:28 +00:00
2 changed files with 19 additions and 0 deletions
Showing only changes of commit c55593d46f - Show all commits

6
.dockerignore Normal file
View File

@ -0,0 +1,6 @@
.openzeppelin
artifacts
cache
deployments
gitno
node_modules

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
# syntax=docker/dockerfile:1
FROM node:16.16
#ENV NODE_ENV=production
RUN useradd -ms /bin/bash drone
WORKDIR /app
COPY ["package.json", "package-lock.json*", "./"]
RUN chown -R drone:drone /app
USER drone
RUN npm install
USER root