chore: add Docker deployment for Athena and Hermes
This commit is contained in:
parent
4cf671e32d
commit
70fd9a7f28
4 changed files with 41 additions and 27 deletions
7
frontend/athena/.dockerignore
Normal file
7
frontend/athena/.dockerignore
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
node_modules
|
||||
.next
|
||||
.git
|
||||
.gitignore
|
||||
README.md
|
||||
Dockerfile
|
||||
docker-compose.yml
|
||||
14
frontend/athena/Dockerfile
Normal file
14
frontend/athena/Dockerfile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
FROM node:22-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm ci
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["npm", "run", "start"]
|
||||
12
frontend/athena/docker-compose.yml
Normal file
12
frontend/athena/docker-compose.yml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
services:
|
||||
athena:
|
||||
build: .
|
||||
container_name: athena-web
|
||||
restart: unless-stopped
|
||||
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
NEXT_PUBLIC_API_URL: https://api.funktechnik-schubert.de
|
||||
|
||||
ports:
|
||||
- "3001:3000"
|
||||
Loading…
Add table
Add a link
Reference in a new issue