Browse Source

Upgrade to Node.js 16

pull/1118/head
Thomas 3 years ago
parent
commit
d40f2a99b4
  1. 2
      .travis.yml
  2. 4
      Dockerfile

2
.travis.yml

@ -2,7 +2,7 @@ language: node_js
git: git:
depth: false depth: false
node_js: node_js:
- 14 - 16
services: services:
- docker - docker

4
Dockerfile

@ -1,4 +1,4 @@
FROM node:14-alpine as builder FROM node:16-alpine as builder
# Build application and add additional files # Build application and add additional files
@ -45,7 +45,7 @@ COPY package.json /ghostfolio/dist/apps/api
RUN yarn database:generate-typings RUN yarn database:generate-typings
# Image to run, copy everything needed from builder # Image to run, copy everything needed from builder
FROM node:14-alpine FROM node:16-alpine
COPY --from=builder /ghostfolio/dist/apps /ghostfolio/apps COPY --from=builder /ghostfolio/dist/apps /ghostfolio/apps
WORKDIR /ghostfolio/apps/api WORKDIR /ghostfolio/apps/api
EXPOSE 3333 EXPOSE 3333

Loading…
Cancel
Save