mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-10 07:58:15 -05:00
16 lines
428 B
Docker
16 lines
428 B
Docker
FROM node:18-slim
|
|
WORKDIR /usr/src/app
|
|
COPY package.json package-lock.json ./
|
|
RUN npm ci --production
|
|
RUN npm cache clean --force
|
|
ENV NODE_ENV="production"
|
|
COPY . .
|
|
|
|
RUN apt-get update && apt-get install -y bash curl && curl -1sLf \
|
|
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' | bash \
|
|
&& apt-get update && apt-get install -y infisical=0.8.1
|
|
|
|
RUN npm run build
|
|
|
|
CMD [ "npm", "run", "start:prod" ]
|