docker: bug fixed.
This commit is contained in:
@@ -3,7 +3,7 @@ RUN apk add --no-cache git unzip && \
|
|||||||
git clone -b main --depth=1 https://github.com/project-fika/Fika-Server.git /fika-server && \
|
git clone -b main --depth=1 https://github.com/project-fika/Fika-Server.git /fika-server && \
|
||||||
cd /fika-server && \
|
cd /fika-server && \
|
||||||
npm install && npm run build && \
|
npm install && npm run build && \
|
||||||
mkdir output && cd output && unzip /fika-server/dist/fika-server.zip
|
mkdir output && cd output && unzip /fika-server/dist/*.zip
|
||||||
|
|
||||||
FROM node:20.11.1-bullseye AS server-builder
|
FROM node:20.11.1-bullseye AS server-builder
|
||||||
RUN apt update && apt install -y git git-lfs p7zip-full && \
|
RUN apt update && apt install -y git git-lfs p7zip-full && \
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ RUN apk add --no-cache git unzip && \
|
|||||||
git clone -b main --depth=1 https://github.com/project-fika/Fika-Server.git /fika-server && \
|
git clone -b main --depth=1 https://github.com/project-fika/Fika-Server.git /fika-server && \
|
||||||
cd /fika-server && \
|
cd /fika-server && \
|
||||||
npm config set registry https://registry.npmmirror.com && npm install && npm run build && \
|
npm config set registry https://registry.npmmirror.com && npm install && npm run build && \
|
||||||
mkdir output && cd output && unzip /fika-server/dist/fika-server.zip
|
mkdir output && cd output && unzip /fika-server/dist/*.zip
|
||||||
|
|
||||||
FROM node:20.11.1-bullseye AS server-builder
|
FROM node:20.11.1-bullseye AS server-builder
|
||||||
RUN apt update && apt install -y git git-lfs p7zip-full && \
|
RUN apt update && apt install -y git git-lfs p7zip-full && \
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ RUN apk add --no-cache git unzip && \
|
|||||||
git clone -b dev-4.0 --depth=1 https://github.com/project-fika/Fika-Server.git /fika-server && \
|
git clone -b dev-4.0 --depth=1 https://github.com/project-fika/Fika-Server.git /fika-server && \
|
||||||
cd /fika-server && \
|
cd /fika-server && \
|
||||||
npm install && npm run build && \
|
npm install && npm run build && \
|
||||||
mkdir output && cd output && unzip /fika-server/dist/fika-server.zip
|
mkdir output && cd output && unzip /fika-server/dist/*.zip
|
||||||
|
|
||||||
FROM node:22.12.0-bullseye AS server-builder
|
FROM node:22.12.0-bullseye AS server-builder
|
||||||
RUN apt update && apt install -y git git-lfs p7zip-full && \
|
RUN apt update && apt install -y git git-lfs p7zip-full && \
|
||||||
|
|||||||
Reference in New Issue
Block a user