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.
This commit is contained in:
11
Docker/dockerfile.server
Normal file
11
Docker/dockerfile.server
Normal file
@@ -0,0 +1,11 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user