Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
railgun-routing-server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Railgun
railgun-routing-server
Commits
0c40a370
Commit
0c40a370
authored
Dec 16, 2025
by
nanamicat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dockerfile
parent
583de7b7
Pipeline
#41997
passed with stages
in 4 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
13 deletions
+16
-13
Dockerfile
Dockerfile
+16
-13
No files found.
Dockerfile
View file @
0c40a370
FROM
node:16-alpine AS web
WORKDIR
/app
COPY
web/package*.json ./
RUN
npm ci
COPY
web .
RUN
npm run build
FROM
rust:alpine AS chef
RUN
cargo
install
cargo-chef
WORKDIR
app
FROM
node:16-alpine
WORKDIR
/app
COPY
server/package*.json ./
RUN
npm ci
COPY
server .
COPY
--from=web /app/dist/railgun-dashboard public
FROM
chef AS planner
COPY
. .
RUN
cargo chef prepare
--recipe-path
recipe.json
CMD
[ "./node_modules/.bin/ts-node", "src/main.ts"]
FROM
chef AS builder
COPY
--from=planner /app/recipe.json recipe.json
RUN
cargo chef cook
--release
--recipe-path
recipe.json
COPY
. .
RUN
cargo build
--release
FROM
alpine
WORKDIR
app
COPY
--from=builder /app/target/release/railgun-routing-server /usr/local/bin
ENTRYPOINT
["/usr/local/bin/railgun-routing-server"]
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment