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