Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DojoBackendAPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dojo Project (HES-SO)
Projects
Backend
DojoBackendAPI
Commits
c2beba22
Commit
c2beba22
authored
2 years ago
by
michael.minelli
Browse files
Options
Downloads
Patches
Plain Diff
Create Dockerfile for ExpressAPI
parent
559c5256
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile_ExpressAPI
+12
-1
12 additions, 1 deletion
Dockerfile_ExpressAPI
with
12 additions
and
1 deletion
Dockerfile_ExpressAPI
+
12
−
1
View file @
c2beba22
...
...
@@ -2,4 +2,15 @@ FROM node:20-bullseye
LABEL maintainer="Michaël Minelli <michael-jean.minelli@hesge.ch>"
LABEL Description="Express API for Dojo"
ENTRYPOINT ["tail", "-f", "/dev/null"]
\ No newline at end of file
ADD ExpressAPI/ /dojo/ExpressAPI/
ADD .env /dojo/ExpressAPI/.env
WORKDIR /dojo/ExpressAPI/
RUN npm install
RUN npm run build
EXPOSE 30992
ENTRYPOINT [ "npm", "run", "start:prod" ]
#ENTRYPOINT ["tail", "-f", "/dev/null"]
\ No newline at end of file
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