Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
in-sylva.gatekeeper
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
in-sylva development
in-sylva.gatekeeper
Commits
5de37e63
You need to sign in or sign up before continuing.
Commit
5de37e63
authored
1 year ago
by
Brett Choquet
Browse files
Options
Downloads
Patches
Plain Diff
Dockerfile update
parent
4513fd3c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.dockerignore
+1
-0
1 addition, 0 deletions
.dockerignore
Dockerfile
+28
-0
28 additions, 0 deletions
Dockerfile
with
29 additions
and
0 deletions
.dockerignore
+
1
−
0
View file @
5de37e63
node_modules/
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Dockerfile
0 → 100644
+
28
−
0
View file @
5de37e63
FROM
node:14-buster-slim
RUN
apt update
&&
apt
install
-y
git openssh-client
RUN
npm
install
--global
pm2
EXPOSE
22
ARG
SSH_KEY
ARG
SSH_KEY_PASSPHRASE
RUN
chmod
go-w /root
RUN
mkdir
-p
/root/.ssh
&&
\
chmod
600 /root/.ssh
RUN
echo
"
$SSH_KEY
"
>>
/root/.ssh/id_rsa
&&
\
echo
"
$SSH_KEY_PASSPHRASE
"
>>
/root/.ssh/id_rsa.pub
RUN
chmod
-R
600 /root/.ssh/id_rsa
&&
\
chmod
-R
600 /root/.ssh/id_rsa.pub
RUN
ssh-keyscan
-Ht
rsa forgemia.inra.fr,147.100.164.13
>>
~/.ssh/known_hosts
COPY
. /app
RUN
cd
/app
&&
yarn
CMD
[ "pm2-runtime","--name","in-sylva.gatekeeper", "yarn start:prod"]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment