mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-20 05:39:39 +02:00
Add git to Dockerfile for self hosted versioning info
Signed-off-by: Zach Gollwitzer <zach@maybe.co>
This commit is contained in:
parent
ce12e5b5c7
commit
cc11fec08a
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ WORKDIR /rails
|
|||
|
||||
# Install base packages
|
||||
RUN apt-get update -qq && \
|
||||
apt-get install --no-install-recommends -y curl libvips postgresql-client
|
||||
apt-get install --no-install-recommends -y curl libvips postgresql-client git
|
||||
|
||||
# Set production environment
|
||||
ENV RAILS_ENV="production" \
|
||||
|
@ -21,7 +21,7 @@ ENV RAILS_ENV="production" \
|
|||
FROM base AS build
|
||||
|
||||
# Install packages needed to build gems
|
||||
RUN apt-get install --no-install-recommends -y build-essential git libpq-dev pkg-config
|
||||
RUN apt-get install --no-install-recommends -y build-essential libpq-dev pkg-config
|
||||
|
||||
# Install application gems
|
||||
COPY .ruby-version Gemfile Gemfile.lock ./
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue