Browse Source

Cambio de version, make verimg, limpieza docker

politica
Celestino Rey 1 year ago
parent
commit
a0e83bed3e
3 changed files with 5 additions and 3 deletions
  1. +1
    -0
      JugarAlPadel/.dockerignore
  2. +0
    -2
      JugarAlPadel/Dockerfile
  3. +4
    -1
      JugarAlPadel/K8S/Makefile.local

+ 1
- 0
JugarAlPadel/.dockerignore View File

@ -1,6 +1,7 @@
Dockerfile Dockerfile
Makefile Makefile
venv/ venv/
entornoPruebas.sh
eventos/migrations/* eventos/migrations/*
reymotausers/migrations/* reymotausers/migrations/*
gestion_reservas/db.sqlite gestion_reservas/db.sqlite


+ 0
- 2
JugarAlPadel/Dockerfile View File

@ -43,8 +43,6 @@ RUN mkdir -p /app
# create the appropriate directories # create the appropriate directories
ENV APP_HOME=/app ENV APP_HOME=/app
RUN mkdir -p $APP_HOME RUN mkdir -p $APP_HOME
#RUN mkdir -p $APP_HOME/staticfiles
#RUN mkdir -p $APP_HOME/mediafiles
WORKDIR $APP_HOME WORKDIR $APP_HOME
# install system dependencies # install system dependencies


+ 4
- 1
JugarAlPadel/K8S/Makefile.local View File

@ -2,7 +2,7 @@ export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':')
export REGISTRY=localhost:30500 export REGISTRY=localhost:30500
#export REGISTRY=registry.reymota.es #export REGISTRY=registry.reymota.es
export IMG_VERSION = 0.46
export IMG_VERSION = 0.49
export IMG_NGINX_VERSION = 2.4 export IMG_NGINX_VERSION = 2.4
# limpia todo # limpia todo
@ -49,3 +49,6 @@ clean:
nginx: nginx:
cd ../nginx; make cd ../nginx; make
verimg:
docker run -it ${REGISTRY}/jugaralpadel-${ARQUITECTURA}:${IMG_VERSION} bash

Loading…
Cancel
Save