diff --git a/.github/workflows/symbol_translator_tester.yml b/.github/workflows/symbol_translator_tester.yml index fe194ae..b9c9940 100644 --- a/.github/workflows/symbol_translator_tester.yml +++ b/.github/workflows/symbol_translator_tester.yml @@ -24,7 +24,7 @@ jobs: run: dotnet restore ./SymbolLibrary/SymbolLibrary.sln - name: Copy NOAKADEXPI Symbol library - run: curl -o SymbolLibrary/src/Data/Symbols.xlsm https://github.com/equinor/NOAKADEXPI/raw/refs/heads/main/Symbols.xlsm + run: curl -o SymbolLibrary/src/Data/Symbols.xlsm https://raw.githubusercontent.com/equinor/NOAKADEXPI/main/Symbols.xlsm - name: Build run: dotnet build ./SymbolLibrary/SymbolLibrary.sln --no-restore diff --git a/SymbolLibrary/src/Dockerfile b/SymbolLibrary/src/Dockerfile index d43d42b..41517a1 100644 --- a/SymbolLibrary/src/Dockerfile +++ b/SymbolLibrary/src/Dockerfile @@ -2,7 +2,7 @@ WORKDIR /app COPY . . -RUN curl -o /app/Data/Symbols.xlsm https://github.com/equinor/NOAKADEXPI/raw/refs/heads/main/Symbols.xlsm +RUN curl -o /app/Data/Symbols.xlsm https://raw.githubusercontent.com/equinor/NOAKADEXPI/main/Symbols.xlsm RUN dotnet publish -c Release -o out FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime @@ -10,7 +10,7 @@ WORKDIR /app COPY --from=build-env /app/out ./ COPY --from=build-env /app/Data/Symbols.xlsm ./Data/Symbols.xlsm -# Set the ASP.NET Core URL to listen on port 8000 +# Set the ASP.NET Core URL to listen on port 5000 ENV ASPNETCORE_URLS=http://+:5000 EXPOSE 5000 diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index bd0c2f3..a779d47 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -44,4 +44,8 @@ services: target: /var/www/html/ depends_on: rml-mapper: - condition: service_completed_successfully \ No newline at end of file + condition: service_completed_successfully + symbols: + build: ../SymbolLibrary/src + ports: + - 5000:5000 \ No newline at end of file