mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 00:36:46 +00:00
17 lines
345 B
Docker
17 lines
345 B
Docker
FROM microsoft/dotnet:sdk
|
|
|
|
ADD https://github.com/openfaas/faas/releases/download/0.6.9/fwatchdog /usr/bin
|
|
RUN chmod +x /usr/bin/fwatchdog
|
|
|
|
ENV DOTNET_CLI_TELEMETRY_OPTOUT 1
|
|
|
|
WORKDIR /root/
|
|
COPY src src
|
|
WORKDIR /root/src
|
|
RUN dotnet restore
|
|
RUN dotnet build
|
|
|
|
ENV fprocess="dotnet ./bin/Debug/netcoreapp1.1/root.dll"
|
|
EXPOSE 8080
|
|
CMD ["fwatchdog"]
|