Clean up dockerfile
This commit is contained in:
parent
f392e223e6
commit
7116a27c74
1 changed files with 1 additions and 2 deletions
|
|
@ -4,6 +4,7 @@ WORKDIR /app
|
||||||
|
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm install --production
|
RUN npm install --production
|
||||||
|
RUN npx browserslist --update-db
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
|
@ -17,8 +18,6 @@ ENV NODE_ENV=production
|
||||||
|
|
||||||
RUN npm install -g serve
|
RUN npm install -g serve
|
||||||
|
|
||||||
RUN apk add postgresql-client
|
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
COPY --from=builder /app/build ./build
|
COPY --from=builder /app/build ./build
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue