-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
executable file
·35 lines (26 loc) · 1.39 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
###########################################################################
# Universidad Nacional Arturo Jauretche #
# Instituto de Ingeniería y Agronomía -Ingeniería en Informática #
# Práctica Profesional Supervisada Nro 12 - Segundo cuatrimestre de 2018 #
# <<Gestión Integral de Alumnos Para el Proyecto Fines>> #
# Tutores: #
# - UNAJ: Dr. Ing. Morales, Martín #
# - ORGANIZACIÓN: Ing. Cortes Bracho, Oscar #
# - ORGANIZACIÓN: Mg. Ing. Diego Encinas #
# - TAPTA: Dra. Ferrari, Mariela #
# Autor: Ap. Daniel Rosatto <danielrosatto@gmail.com> #
# Archivo GIDAPPF/Dockerfile #
###########################################################################
FROM ruby:alpine
# throw errors if Gemfile has been modified since Gemfile.lock
RUN bundle config --global frozen 1
RUN apk update && apk add build-base nodejs postgresql-dev tzdata imagemagick
RUN mkdir /app
WORKDIR /app
COPY Gemfile Gemfile.lock ./
RUN bundle install
RUN bundle config unset frozen
RUN bundle update
COPY . .
LABEL maintainer="Daniel Rosatto <danielrosatto@gmail.com>"
CMD puma -C config/puma.rb