Skip to content

Commit

Permalink
Build from jessie-slim node image
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Maniewski committed Jul 30, 2019
1 parent c903c9a commit 5699292
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:10.16-alpine AS builder
FROM node:10.16.0-jessie-slim AS builder

ADD . / pinion/

RUN apk add --no-cache python build-base
RUN apt-get update && apt-get install -y python build-essential curl file zip

RUN cd /pinion && yarn && yarn build && rm -rf node_modules && yarn --production

FROM node:10.16-alpine
FROM node:10.16.0-jessie-slim

COPY --from=builder /pinion /pinion

Expand Down

0 comments on commit 5699292

Please sign in to comment.