fix flips
This commit is contained in:
@@ -7,7 +7,6 @@ ALttPRandomizer/[Bb]in
|
||||
|
||||
*/__pycache__
|
||||
*/.github
|
||||
*/_vendor
|
||||
*/DR_*
|
||||
*/ER_*
|
||||
*/OR_*
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"flipsPath": "/flips/flips",
|
||||
"allowedCors": [
|
||||
"https://new.alttpr.gwaa.kiwi",
|
||||
"https://api.alttpr.gwaa.kiwi",
|
||||
"http://localhost:8082"
|
||||
],
|
||||
"azureSettings": {
|
||||
|
||||
Submodule Apr2025Randomizer updated: 1d84a6b348...fc12f2627b
15
Dockerfile
15
Dockerfile
@@ -1,5 +1,12 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0-azurelinux3.0 AS build
|
||||
|
||||
RUN tdnf install -y wget unzip g++ build-essential
|
||||
RUN wget https://github.com/Alcaro/Flips/archive/refs/tags/v198.zip -O flips.zip
|
||||
RUN unzip flips.zip -d /flips
|
||||
WORKDIR /flips/Flips-198
|
||||
ARG TARGET=cli
|
||||
RUN ./make-linux.sh
|
||||
|
||||
ARG BUILD_CONFIGURATION=Release
|
||||
WORKDIR /src
|
||||
|
||||
@@ -12,10 +19,10 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0-azurelinux3.0 AS final
|
||||
EXPOSE 8080
|
||||
EXPOSE 8081
|
||||
|
||||
RUN tdnf install -y python3 wget unzip
|
||||
RUN wget https://github.com/Alcaro/Flips/releases/download/v198/flips-linux.zip
|
||||
RUN unzip flips-linux.zip -d /flips
|
||||
RUN rm flips-linux.zip
|
||||
RUN tdnf install -y python3
|
||||
|
||||
RUN mkdir -p /flips
|
||||
COPY --from=build /flips/Flips-198/flips /flips/flips
|
||||
|
||||
RUN mkdir -p /randomizer/data
|
||||
RUN touch /randomizer/data/base2current.json
|
||||
|
||||
Reference in New Issue
Block a user