diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0968152 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM node:18 + +VOLUME ./dist + +CMD node ./dist/server/entry.mjs \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 5039072..c062678 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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}"