Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PB138 - Film Database Group Project
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tomáš Havlíček
PB138 - Film Database Group Project
Commits
dd88f4d6
There was an error fetching the commit references. Please try again later.
Commit
dd88f4d6
authored
2 years ago
by
Lukáš Kratochvíl
Browse files
Options
Downloads
Patches
Plain Diff
feat: docker - NestJS server
parent
9f628fa0
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
backend/Dockerfile
+11
-0
11 additions, 0 deletions
backend/Dockerfile
docker-compose.yml
+22
-0
22 additions, 0 deletions
docker-compose.yml
with
33 additions
and
0 deletions
backend/Dockerfile
0 → 100644
+
11
−
0
View file @
dd88f4d6
FROM
node:16-alpine
WORKDIR
/usr/src/app
COPY
package*.json ./
RUN
npm
install
COPY
. .
CMD
["npm", "run", "build"]
This diff is collapsed.
Click to expand it.
docker-compose.yml
0 → 100644
+
22
−
0
View file @
dd88f4d6
version
:
'
3.8'
services
:
server
:
container_name
:
film_database-server
image
:
film_database-server:1.0.0
build
:
context
:
./backend
dockerfile
:
Dockerfile
command
:
npm run start:dev
ports
:
-
127.0.0.1:3000:3000
networks
:
-
app-network
volumes
:
-
./backend:/usr/src/app
-
/usr/src/app/node_modules
restart
:
always
networks
:
app-network
:
driver
:
bridge
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