mirror of
https://github.com/alexohneander/alexohneander-astro.git
synced 2025-06-30 07:21:52 +00:00
feat: update dockerfile
This commit is contained in:
parent
555af03e10
commit
76994aa4ed
@ -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 . .
|
||||
|
Loading…
x
Reference in New Issue
Block a user