mirror of
https://github.com/ThisIsBenny/wishlist-app.git
synced 2025-04-19 23:37:41 +00:00
issue with husky fixed
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
parent
50a201d6dc
commit
d3135e8530
1 changed files with 4 additions and 2 deletions
|
@ -4,7 +4,8 @@ FROM node:lts as builder
|
||||||
RUN mkdir /app
|
RUN mkdir /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json package-lock.json /app/
|
COPY package.json package-lock.json /app/
|
||||||
RUN npm ci --ignore-scripts
|
RUN npm set-script prepare ""
|
||||||
|
RUN npm ci
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
|
@ -25,7 +26,8 @@ RUN mkdir data
|
||||||
|
|
||||||
COPY package.json package-lock.json /app/
|
COPY package.json package-lock.json /app/
|
||||||
COPY ./prisma /app/prisma
|
COPY ./prisma /app/prisma
|
||||||
RUN npm ci --ignore-scripts
|
RUN npm set-script prepare ""
|
||||||
|
RUN npm ci
|
||||||
COPY --from=builder /app/dist /app
|
COPY --from=builder /app/dist /app
|
||||||
|
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
|
Loading…
Add table
Reference in a new issue