mirror of
https://github.com/alexohneander/alexohneander-astro.git
synced 2025-08-21 13:51:33 +00:00
feat: update dockerfile
This commit is contained in:
@@ -6,10 +6,10 @@ WORKDIR /app
|
||||
COPY package.json package-lock.json ./
|
||||
|
||||
FROM base AS prod-deps
|
||||
RUN npm install --production
|
||||
RUN npm install
|
||||
|
||||
FROM base AS build-deps
|
||||
RUN npm install --production=false
|
||||
RUN npm install
|
||||
|
||||
FROM build-deps AS build
|
||||
COPY . .
|
||||
|
Reference in New Issue
Block a user