Simplify startup
This commit is contained in:
@ -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
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd /app/backend
|
||||
cp .env.example .env
|
||||
echo "starting up..."
|
||||
node ace generate:key
|
||||
|
||||
|
Reference in New Issue
Block a user