Skip to content

Commit

Permalink
Downgrading node version as site breaks though build works
Browse files Browse the repository at this point in the history
  • Loading branch information
sharhio committed Dec 19, 2023
1 parent 1cf49b2 commit dcad8dc
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,4 +1,4 @@
FROM node:16 as build
FROM node:14 as build
MAINTAINER Reittiopas version: 0.1

ENV WORK=/opt/digitransit-site
Expand All @@ -14,7 +14,7 @@ ADD . ${WORK}
RUN yarn && \
gatsby build

FROM node:16
FROM node:14

WORKDIR /opt/digitransit-site
COPY --from=build /opt/digitransit-site/public ./
Expand Down

0 comments on commit dcad8dc

Please sign in to comment.