Browse Source

Pin alpine version to force Node 14 (#186)

pull/188/head
baarkerlounger 3 years ago committed by GitHub
parent
commit
427ce3a352
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Dockerfile

4
Dockerfile

@ -1,5 +1,5 @@
# Build compilation image # Build compilation image
FROM ruby:3.0.3-alpine as builder FROM ruby:3.0.3-alpine3.14 as builder
# The application runs from /app # The application runs from /app
WORKDIR /app WORKDIR /app
@ -12,7 +12,7 @@ RUN apk add --update --no-cache tzdata && \
# build-base: complication tools for bundle # build-base: complication tools for bundle
# yarn: node package manager # yarn: node package manager
# postgresql-dev: postgres driver and libraries # postgresql-dev: postgres driver and libraries
RUN apk add --no-cache build-base yarn postgresql-dev RUN apk add --no-cache build-base yarn postgresql-dev git
# Install bundler to run bundle exec # Install bundler to run bundle exec
# This should be the same version as the Gemfile.lock # This should be the same version as the Gemfile.lock

Loading…
Cancel
Save