FEAT: add dockerfile
This commit is contained in:
5
Dockerfile
Normal file
5
Dockerfile
Normal file
@@ -0,0 +1,5 @@
|
||||
FROM node:18
|
||||
|
||||
VOLUME ./dist
|
||||
|
||||
CMD node ./dist/server/entry.mjs
|
@@ -2,13 +2,12 @@ version: "3.7"
|
||||
services:
|
||||
|
||||
test:
|
||||
image: node:18
|
||||
image: pegazio
|
||||
build: .
|
||||
container_name: pegazio
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- $PORT:$PORT_EXPOSED
|
||||
volumes:
|
||||
- "${MEDIA_DIR}:/media"
|
||||
environment:
|
||||
VIRTUAL_HOST: "${DOMAIN}"
|
||||
LETSENCRYPT_HOST: "${DOMAIN}"
|
||||
|
Reference in New Issue
Block a user