-
Alex Ellis (VMware) authored
Moves to 0.9.0 Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
Alex Ellis (VMware) authoredMoves to 0.9.0 Signed-off-by:
Alex Ellis (VMware) <alexellis2@gmail.com>
Dockerfile 345 B
FROM microsoft/dotnet:sdk
ADD https://github.com/openfaas/faas/releases/download/0.9.0/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"]