fix(api): Dockerfile
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#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
|
||||
# CURL install (bullseye - for net core 7, bookworm - for net core 9 !!!)
|
||||
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 bookworm-updates main" >> /etc/apt/sources.list && \
|
||||
apt-get update && \
|
||||
apt-get install -y curl && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
# CURL install (bullseye - for net core 7!!!)
|
||||
#RUN rm -f /etc/apt/sources.list.d/* && \
|
||||
# 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 bullseye-updates main" >> /etc/apt/sources.list && \
|
||||
# apt-get update && \
|
||||
# apt-get install -y curl && \
|
||||
# rm -rf /var/lib/apt/lists/*
|
||||
WORKDIR /app
|
||||
|
||||
ENV ASPNETCORE_HTTP_PORTS=80
|
||||
|
||||
Reference in New Issue
Block a user