mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 07:08:58 +08:00
chore(docker): 🚀 Update Dockerfile and .dockerignore files
Signed-off-by: Prashant Shahi <prashant@signoz.io>
This commit is contained in:
parent
914be6e4cf
commit
a4cfb44953
@ -2,3 +2,4 @@ node_modules
|
|||||||
.vscode
|
.vscode
|
||||||
build
|
build
|
||||||
.env
|
.env
|
||||||
|
.git
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# stage1 as builder
|
# stage1 as builder
|
||||||
FROM node:12.22.0 as builder
|
FROM node:16.15.0-slim as builder
|
||||||
|
|
||||||
# Add Maintainer Info
|
# Add Maintainer Info
|
||||||
LABEL maintainer="signoz"
|
LABEL maintainer="signoz"
|
||||||
@ -16,7 +16,7 @@ COPY package.json ./
|
|||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
# Install the dependencies and make the folder
|
# Install the dependencies and make the folder
|
||||||
RUN yarn install
|
RUN CI=1 yarn install
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user