Merge pull request #1180 from SigNoz/prashant/frontend-docker

chore(docker): 🚀 Update Dockerfile and .dockerignore files
This commit is contained in:
palash-signoz 2022-05-20 15:38:24 +05:30 committed by GitHub
commit 8d6646afed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 . .