Skip to content

Commit

Permalink
chore: update node 14
Browse files Browse the repository at this point in the history
  • Loading branch information
fengkx committed Nov 5, 2020
1 parent 489d602 commit 7711110
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,15 +1,15 @@
FROM node:13.8.0-alpine as ts-builder
FROM node:14.15.0-alpine as ts-builder
WORKDIR /app
COPY . /app
RUN npm install --ignore-scripts && npm run build

FROM node:13.8.0-alpine as dep-builder
FROM node:14.15.0-alpine as dep-builder
WORKDIR /app
COPY package.json clean-nm.sh /app/
RUN apk add --no-cache --update build-base python2
RUN npm install --production && sh /app/clean-nm.sh

FROM node:13.8.0-alpine as app
FROM node:14.15.0-alpine as app
WORKDIR /app
ENV NODE_PRODUTION true
COPY data /app/data
Expand Down

0 comments on commit 7711110

Please sign in to comment.