@ -47,9 +47,11 @@ RUN apk -U upgrade \
&& apk del vips-dependencies --purge
COPY docker-start.sh start.sh
RUN chmod +x start.sh
COPY server .
RUN chmod +x start.sh \
&& cp .env.sample .env
COPY --from=client-builder /app/build public
COPY --from=client-builder /app/build/index.html views
@ -61,7 +61,7 @@ Either use a local database or start the provided development database:
docker-compose -f docker-compose-dev.yml up
```
Edit `DATABASE_URL` in `.env` file if needed, then initialize the database:
Create `server/.env` based on `server/.env.sample` and edit `DATABASE_URL` if needed, then initialize the database:
npm run server:db:init
@ -44,6 +44,7 @@
#
################################################
.env
config/local.js