Browse Source

Building and Packaging DEV version

dev
Siroco 9 months ago
parent
commit
dd35f403bf
Signed by: siroco GPG Key ID: 1324098302A514B0
  1. 12
      Dockerfile
  2. 5
      docker-compose.yml

12
Dockerfile

@ -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
##

5
docker-compose.yml

@ -2,7 +2,10 @@ version: '3'
services:
gancio:
build: .
build:
context: .
args:
- GANCIO_VERSION=dev
restart: always
image: gancio:latest
container_name: gancio

Loading…
Cancel
Save