Skip to content

Commit

Permalink
puerto
Browse files Browse the repository at this point in the history
  • Loading branch information
paulasuarezp committed Jun 29, 2024
1 parent e210565 commit c9c989c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/TFG.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ jobs:
SSL_CERT=${{ secrets.SSL_CERT }}
SSL_PRIVKEY=${{ secrets.SSL_PRIVKEY }}
NODE_ENV=production
scripts: |
echo "${{ secrets.SSL_CERT }}" > /src/certs/fullchain.pem
echo "${{ secrets.SSL_KEY }}" > /src/certs/privkey.pem
deploy:
name: Deploy over SSH
Expand Down
2 changes: 1 addition & 1 deletion restapi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ COPY . .
RUN npm run build

# Expone el puerto en el que la aplicación correrá
EXPOSE 5001
EXPOSE 5001 5002

# Comando para iniciar la aplicación
CMD ["npm", "run", "prod"]

0 comments on commit c9c989c

Please sign in to comment.