Simplify startup

This commit is contained in:
Mike Conrad
2025-06-20 13:30:10 -04:00
parent 8e2cd7f9a1
commit b6c684cdd1
4 changed files with 9 additions and 4 deletions

View File

@ -13,7 +13,7 @@ RUN npm ci
FROM deps AS develop
WORKDIR /app/backend
COPY dev-entrypoint.sh /entrypoint.sh
COPY entrypoint.sh /entrypoint.sh
COPY .env.example /app/backend/.env
RUN chmod +x /entrypoint.sh
ENV NODE_ENV=development

View File

@ -1,6 +1,7 @@
#!/bin/sh
cd /app/backend
cp .env.example .env
echo "starting up..."
node ace generate:key