diff --git a/.github/workflows/lomap_es2c.yml b/.github/workflows/lomap_es2c.yml index 1d3b475..706a847 100644 --- a/.github/workflows/lomap_es2c.yml +++ b/.github/workflows/lomap_es2c.yml @@ -56,7 +56,7 @@ jobs: - name: Publish to Registry uses: elgohr/Publish-Docker-Github-Action@v5 env: - API_URI: http://${{ secrets.DEPLOY_HOST }}:5000/api + API_URI: https://${{ secrets.DEPLOY_HOST }}:5000/api with: name: arquisoft/lomap_es2c/webapp username: ${{ github.actor }} diff --git a/restapi/Dockerfile b/restapi/Dockerfile index 5198114..c69d379 100644 --- a/restapi/Dockerfile +++ b/restapi/Dockerfile @@ -8,4 +8,6 @@ RUN npm install ARG DATABASE_URL="DATABASE_URL" ENV DATABASE_URL=$DATABASE_URL +EXPOSE 3000 + CMD [ "npm", "start" ]