Files
FoodsharingOnboarding/Docker/dockerfile.server
Andre Beging 859b0c3712 Add Docker support for FoodsharingSiegen project
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.
2025-03-28 16:29:43 +01:00

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"]