|
|
|
@ -7,7 +7,8 @@
|
|
|
|
|
FROM registry.sindominio.net/debian |
|
|
|
|
|
|
|
|
|
RUN apt-get update && \ |
|
|
|
|
apt-get install -y --no-install-recommends curl gnupg2 ca-certificates git |
|
|
|
|
apt-get install -y --no-install-recommends curl gnupg2 ca-certificates git \ |
|
|
|
|
postgresql-server-dev-all build-essential |
|
|
|
|
|
|
|
|
|
# Install Node Latest |
|
|
|
|
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - && \ |
|
|
|
@ -31,11 +32,10 @@ RUN git clone https://framagit.org/les/gancio.git && \
|
|
|
|
|
|
|
|
|
|
WORKDIR /opt/gancio |
|
|
|
|
|
|
|
|
|
RUN yarn install && \ |
|
|
|
|
yarn build && \ |
|
|
|
|
yarn pack --filename=gancio.tgz |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RUN yarn |
|
|
|
|
RUN ./node_modules/.bin/sequelize db:migrate |
|
|
|
|
RUN yarn build |
|
|
|
|
RUN yarn pack --filename=gancio.tgz |
|
|
|
|
|
|
|
|
|
## Docker para EJECUCION de Gancio |
|
|
|
|
## |
|
|
|
|