diff --git a/.gitea/workflows/010_ci_docker_image.yaml b/.gitea/workflows/010_ci_docker_image.yaml index 0d6818e..04b0b04 100644 --- a/.gitea/workflows/010_ci_docker_image.yaml +++ b/.gitea/workflows/010_ci_docker_image.yaml @@ -64,24 +64,7 @@ jobs: with: name: image path: /tmp/image.tar - - integration-tests: - runs-on: ubuntu-22.04 - needs: [build-image] - steps: - - name: Download artifact - uses: actions/download-artifact@v3 - with: - name: image - path: /tmp - - name: Load image - run: | - docker load --input /tmp/image.tar - docker image ls -a - docker run -p 8143:8143 -d ${{ vars.IMAGE }}:${{ inputs.image-tag }} - sleep 10 - curl --fail 'http://localhost:8143/' - + publish-image: runs-on: ubuntu-22.04 needs: [integration-tests, vulnerability-scan] diff --git a/backend/Dockerfile b/backend/Dockerfile index 311d9f9..e9f3229 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -5,5 +5,5 @@ COPY requirements.txt /app/requirements.txt RUN pip install -r requirements.txt COPY . /app -EXPOSE 8143 -CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8143"] \ No newline at end of file +EXPOSE 80 +CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"] \ No newline at end of file