Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Add git to Dockerfile for self hosted versioning info

Zach Gollwitzercc11fec08a63
diff --git a/Dockerfile b/Dockerfile
index d75d7ac7..aeb8aaa0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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 ./