mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Refactor envars for easier self-hosting
This commit is contained in:
@@ -7,10 +7,9 @@ WORKDIR /app
|
||||
# Copy over dependency files
|
||||
COPY package.json ./
|
||||
COPY package-lock.json ./
|
||||
COPY yarn.lock ./
|
||||
|
||||
# Install
|
||||
RUN yarn install
|
||||
RUN npm install
|
||||
|
||||
# Copy over next.js config
|
||||
COPY next.config.js ./next.config.js
|
||||
@@ -18,4 +17,4 @@ COPY next.config.js ./next.config.js
|
||||
# Copy all files
|
||||
COPY . .
|
||||
|
||||
CMD ["yarn", "dev"]
|
||||
CMD ["npm", "run", "dev"]
|
||||
@@ -7,7 +7,6 @@ WORKDIR /app
|
||||
# Copy over dependency files
|
||||
COPY package.json ./
|
||||
COPY package-lock.json ./
|
||||
COPY yarn.lock ./
|
||||
|
||||
# Install
|
||||
RUN npm install
|
||||
|
||||
Reference in New Issue
Block a user