Fixed docker build
This commit is contained in:
parent
f9b69383dc
commit
ce85159f00
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ WORKDIR /source/src/EllieBot
|
||||||
# Build and publish the EllieBot project, then clean up unnecessary files
|
# Build and publish the EllieBot project, then clean up unnecessary files
|
||||||
RUN set -xe; \
|
RUN set -xe; \
|
||||||
dotnet --version; \
|
dotnet --version; \
|
||||||
|
dotnet restore; \
|
||||||
dotnet publish -c Release -o /app --no-restore; \
|
dotnet publish -c Release -o /app --no-restore; \
|
||||||
mv /app/data /app/data_init; \
|
mv /app/data /app/data_init; \
|
||||||
rm -Rf libopus* libsodium* opus.* runtimes/win* runtimes/osx* runtimes/linux-arm* runtimes/linux-mips*; \
|
rm -Rf libopus* libsodium* opus.* runtimes/win* runtimes/osx* runtimes/linux-arm* runtimes/linux-mips*; \
|
||||||
|
|
Loading…
Reference in a new issue