@@ -5,7 +5,7 @@ FROM node:22-alpine
ENV NODE_ENV=production
# set working directory.
-WORKDIR /app
+WORKDIR /kutt
# download dependencies while using Docker's caching
RUN --mount=type=bind,source=package.json,target=package.json \
@@ -3,7 +3,7 @@ services:
build:
context: .
volumes:
- - custom:/app/custom
+ - custom:/kutt/custom
environment:
DB_CLIENT: mysql2
DB_HOST: mariadb
DB_CLIENT: pg
DB_HOST: postgres
@@ -4,7 +4,7 @@ services:
- db_data_sqlite:/var/lib/kutt
DB_FILENAME: "/var/lib/kutt/data.sqlite"
REDIS_ENABLED: true
ports: