Clean up dockerfile

This commit is contained in:
oitsjustjose 2021-06-08 12:17:53 -05:00
commit 7116a27c74

View file

@ -4,6 +4,7 @@ WORKDIR /app
COPY package*.json ./
RUN npm install --production
RUN npx browserslist --update-db
COPY . .
@ -17,8 +18,6 @@ ENV NODE_ENV=production
RUN npm install -g serve
RUN apk add postgresql-client
WORKDIR /app
COPY package*.json ./
COPY --from=builder /app/build ./build