fix(api): Dockerfile

This commit is contained in:
Mikhail Trubnikov
2026-05-19 12:07:14 +10:00
parent bd93f9dffb
commit f7649c3e43

View File

@@ -1,13 +1,13 @@
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
FROM 10.99.253.167:8090/dotnet/aspnet:9.0 AS base FROM 10.99.253.167:8090/dotnet/aspnet:9.0 AS base
# CURL install (bullseye - for net core 7, bookworm - for net core 9 !!!) # CURL install (bullseye - for net core 7!!!)
RUN rm -f /etc/apt/sources.list.d/* && \ #RUN rm -f /etc/apt/sources.list.d/* && \
echo "deb [trusted=yes] http://10.99.253.167:8081/repository/apt-proxy bookworm main" > /etc/apt/sources.list && \ # echo "deb [trusted=yes] http://10.99.253.167:8081/repository/apt-proxy bullseye main" > /etc/apt/sources.list && \
echo "deb [trusted=yes] http://10.99.253.167:8081/repository/apt-proxy bookworm-updates main" >> /etc/apt/sources.list && \ # echo "deb [trusted=yes] http://10.99.253.167:8081/repository/apt-proxy bullseye-updates main" >> /etc/apt/sources.list && \
apt-get update && \ # apt-get update && \
apt-get install -y curl && \ # apt-get install -y curl && \
rm -rf /var/lib/apt/lists/* # rm -rf /var/lib/apt/lists/*
WORKDIR /app WORKDIR /app
ENV ASPNETCORE_HTTP_PORTS=80 ENV ASPNETCORE_HTTP_PORTS=80