Skip to content

Commit 5e94708

Browse files
committed
Use Node 14 as Docker image base
1 parent 23daad7 commit 5e94708

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage:
2-
FROM node:12-alpine as builder
2+
FROM node:14-alpine as builder
33

44
# Copy source files
55
COPY . /opt/ilmomasiina
@@ -12,7 +12,7 @@ RUN npm ci && npm run bootstrap
1212
RUN npm run build
1313

1414
# Main stage:
15-
FROM node:12-alpine
15+
FROM node:14-alpine
1616

1717
# Default to production
1818
ENV NODE_ENV=production

Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Node modules will be installed at the build phase and included in the container image.
55
# Sources and other files are intended to be provided using bind mounts.
66

7-
FROM node:12-alpine
7+
FROM node:14-alpine
88

99
WORKDIR /opt/ilmomasiina
1010

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "2.0.0-alpha1",
44
"license": "MIT",
55
"engines": {
6-
"node": "^12.20.1",
6+
"node": "^14.19.0",
77
"npm": "^6.14.13"
88
},
99
"scripts": {

0 commit comments

Comments
 (0)