fix: docker build

This commit is contained in:
Codetrauma
2025-03-13 10:39:42 -07:00
parent 82af55196c
commit 1c537b6a70
2 changed files with 2 additions and 3 deletions

1
.gitignore vendored
View File

@@ -6,3 +6,4 @@ build
.env
poaps.txt
rs/**/target
firebase-admin.json

View File

@@ -10,9 +10,7 @@ COPY . .
RUN apt-get update && apt-get install -y curl && apt-get install netcat-openbsd -y
RUN curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y
RUN npm install
RUN npm i --prefix rs/0.1.0-alpha.7/
RUN touch server/util/poaps.txt
RUN touch server/util/assignments.json
RUN npm i --prefix rs/0.1.0-alpha.8/
RUN npm run build
EXPOSE ${PORT}