add (untested) docker stuff
This commit is contained in:
6
Dockerfile
Normal file
6
Dockerfile
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
FROM node:20
|
||||||
|
WORKDIR /app
|
||||||
|
EXPOSE 8127
|
||||||
|
CMD [ "bash", "init.sh" ]
|
||||||
|
|
||||||
|
# This is just copied from urlshortener cause both apps have similar architecture
|
||||||
11
docker-compose.yml
Normal file
11
docker-compose.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
version: '3.0'
|
||||||
|
|
||||||
|
services:
|
||||||
|
enstrayedapi:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
image: enstrayedapi
|
||||||
|
container_name: enstrayedapi
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- .:/app
|
||||||
Reference in New Issue
Block a user