chore(docker): 🚀 Update Dockerfile and .dockerignore files

Signed-off-by: Prashant Shahi <prashant@signoz.io>
This commit is contained in:
Prashant Shahi 2022-05-20 15:07:47 +05:30
parent 914be6e4cf
commit a4cfb44953
No known key found for this signature in database
GPG Key ID: 6E62ED14180EB2C0
3 changed files with 6 additions and 5 deletions

View File

@ -2,3 +2,4 @@ node_modules
.vscode
build
.env
.git

View File

@ -1,5 +1,5 @@
# stage1 as builder
FROM node:12.22.0 as builder
FROM node:16.15.0-slim as builder
# Add Maintainer Info
LABEL maintainer="signoz"
@ -16,7 +16,7 @@ COPY package.json ./
ENV NODE_ENV=production
# Install the dependencies and make the folder
RUN yarn install
RUN CI=1 yarn install
COPY . .