Update Dockerfile
This commit is contained in:
parent
d591797a96
commit
cf4b9a7956
12
Dockerfile
12
Dockerfile
@ -1,7 +1,15 @@
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
|
EXPOSE 5000
|
||||||
|
|
||||||
WORKDIR /opt
|
WORKDIR /opt
|
||||||
RUN apk add dotnet8-sdk ffmpeg git \
|
RUN apk add dotnet8-sdk ffmpeg \
|
||||||
&&
|
&& mkdir /opt/ReviewProxy
|
||||||
|
WORKDIR /opt/ReviewProxy
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN dotnet publish ReviewProxy.csproj -c Release -o /app
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
ENTRYPOINT ["/app/ReviewProxy"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user