Skip to content

Commit

Permalink
fix: udpate docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
lionelB committed Jun 4, 2020
1 parent a709887 commit 0ca0538
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
@@ -1,10 +1,13 @@
FROM node:12.16.3-alpine
FROM node:14.4-alpine3.11

WORKDIR /app

COPY package.json yarn.lock ./

RUN yarn --production --frozen-lockfile
RUN apk add make python libc-dev g++

RUN npm install -g node-gyp
RUN yarn --frozen-lockfile

COPY next.config.js ./
COPY .env ./.env
Expand Down

0 comments on commit 0ca0538

Please sign in to comment.