actualizando gitignore

This commit is contained in:
Xavier Guerrero 2024-04-22 01:04:56 +02:00
parent af538a343a
commit 641f42993b
7 changed files with 3 additions and 53 deletions

3
.gitignore vendored
View File

@ -5,6 +5,9 @@ build/
!**/src/main/**/build/
!**/src/test/**/build/
*.bkp
*.sh
Dockerfile
docker-compose.yaml
### STS ###
.apt_generated

View File

@ -1,5 +0,0 @@
FROM openjdk:17
EXPOSE 8080
RUN mkdir -p /app/
ADD build/libs/goCourt-0.0.1-SNAPSHOT.jar /app/goCourt-0.0.1-SNAPSHOT.jar
ENTRYPOINT ["java", "-jar", "/app/goCourt-0.0.1-SNAPSHOT.jar"]

View File

@ -1,8 +0,0 @@
#!/bin/bash
docker stop gocourt-api
docker rm gocourt-api
git pull
gradle build
docker build -t gocourt-api .
docker compose up -d

View File

@ -1,8 +0,0 @@
#!/bin/bash
docker stop gocourt-vue
docker rm gocourt-vue
git pull
cd frontend
docker build -t gocourt-vue-img .
docker compose up -d

View File

@ -1,10 +0,0 @@
version: '3'
services:
webserver:
image: gocourt-api
container_name: gocourt-api
restart: unless-stopped
ports:
- '8081:8080'

View File

@ -1,13 +0,0 @@
# build stage
FROM node:lts-alpine as build-stage
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# production stage
FROM nginx:stable-alpine as production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]

View File

@ -1,9 +0,0 @@
version: '3'
services:
webserver:
image: gocourt-vue-img
container_name: gocourt-vue
restart: unless-stopped
ports:
- '86:80'