Skip to content
Snippets Groups Projects
Commit 82624268 authored by Jan Schnaidt's avatar Jan Schnaidt
Browse files

Docker funktion

parent 5cec6533
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ RUN npm run build
################################################################
# getting jdk 17 (we use this version in development too)
FROM eclipse-temurin:17-jdk-alpine AS build-backend
FROM eclipse-temurin:17.0.7_7-jdk-focal AS build-backend
# working directory for backend
WORKDIR /app
......
......@@ -23,12 +23,6 @@ services:
- ./init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js
networks:
- todo-network
# mongo is being initialized too late so we have to wait for it
healthcheck:
test: [ "CMD", "mongo", "--eval", "db.adminCommand('ping')" ]
interval: 10s
timeout: 5s
retries: 5
# backend stuff
backend:
......
{
"name": "todo-app-jan-schnaidt-and-abdullah-kiran",
"lockfileVersion": 3,
"requires": true,
"packages": {}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment