Introduced Docker setup, including `docker-compose.yml`, `dockerfile.server`, and related Python helper scripts (`image-create.py`, `image-push.py`, `publish-project.py`, `publish-aio.py`) for building, managing, and deploying Docker images. Updated `.gitignore` to exclude published files, and renamed a field label in the Blazor component for better clarity.
11 lines
376 B
Plaintext
11 lines
376 B
Plaintext
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
|
|
RUN apt-get update && apt-get install iputils-ping -y
|
|
|
|
LABEL org.opencontainers.image.source=https://github.com/TroogS/FoodsharingSiegen
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy the Blazor Server published files from the Publish folder relative to the build context
|
|
COPY ../Publish/Server/ .
|
|
|
|
ENTRYPOINT ["dotnet", "FoodsharingSiegen.Server.dll"] |