Skip to content

Commit

Permalink
Temporarily lock to Node 14
Browse files Browse the repository at this point in the history
Node 14 is triggering the styles redefintion bug. Historically this has
fixed itself within a few days and doesn't represent an error we made
  • Loading branch information
BobChao87 committed Oct 28, 2021
1 parent cfd1ed4 commit 3349a0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:lts-alpine AS builder
FROM node:14-alpine AS builder
ENV NODE_ENV=production DISABLE_OPENCOLLECTIVE=true
WORKDIR /oengus-webapp
COPY ["package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"]
RUN npm ci --also=dev --silent && mv node_modules ../
COPY . .
RUN npm run build

FROM node:lts-alpine AS host
FROM node:14-alpine AS host
ENV NODE_ENV=production HOST=0.0.0.0 DISABLE_OPENCOLLECTIVE=true
WORKDIR /oengus-webapp
COPY ["package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"]
Expand Down

0 comments on commit 3349a0f

Please sign in to comment.