Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
public
Mímir
Commits
a67c3110
Commit
a67c3110
authored
Aug 13, 2020
by
Aron Fiechter
Browse files
Add Dockerfile for backend
parent
8f6aa37e
Changes
1
Hide whitespace changes
Inline
Side-by-side
api/Dockerfile
0 → 100644
View file @
a67c3110
# Pin version
FROM
node:14.8.0
# Create app directory
WORKDIR
/usr/src/app
# Install app dependencies
COPY
package*.json ./
RUN
npm ci
--only
=
production
# Bundle app source
COPY
. .
EXPOSE
8888
CMD
[ "npm", "start" ]
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