Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
validator
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Odysseus
validator
Commits
edb287cb
Commit
edb287cb
authored
Mar 23, 2024
by
贾浩@五瓣科技
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update dockerfile
parent
04a2f4db
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
Dockerfile
Dockerfile
+3
-3
Dockerfile.proxy
Dockerfile.proxy
+3
-3
entrypoint.sh
entrypoint.sh
+1
-1
No files found.
Dockerfile
View file @
edb287cb
...
@@ -20,11 +20,11 @@ FROM alpine
...
@@ -20,11 +20,11 @@ FROM alpine
WORKDIR
/app
WORKDIR
/app
COPY
./config.toml
.
/config.toml
COPY
./config.toml /config.toml
VOLUME
/
app/
config.toml
VOLUME
/config.toml
VOLUME
/app
/data
VOLUME
/app
COPY
--from=build /tmp/validator /usr/bin/validator
COPY
--from=build /tmp/validator /usr/bin/validator
...
...
Dockerfile.proxy
View file @
edb287cb
...
@@ -24,11 +24,11 @@ FROM alpine
...
@@ -24,11 +24,11 @@ FROM alpine
WORKDIR /app
WORKDIR /app
COPY ./config.toml
.
/config.toml
COPY ./config.toml /config.toml
VOLUME /
app/
config.toml
VOLUME /config.toml
VOLUME /app
/data
VOLUME /app
COPY --from=build /tmp/validator /usr/bin/validator
COPY --from=build /tmp/validator /usr/bin/validator
...
...
entrypoint.sh
View file @
edb287cb
...
@@ -4,5 +4,5 @@
...
@@ -4,5 +4,5 @@
set
-e
set
-e
echo
"running validator"
echo
"running validator"
nohup
/usr/bin/validator
-c
/
app/
config.toml
>>
/app/validator.log 2>&1 &
nohup
/usr/bin/validator
-c
/config.toml
>>
/app/validator.log 2>&1 &
tail
-f
/app/validator.log
tail
-f
/app/validator.log
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