mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-22 17:23:54 +01:00
73ea516a7a
Determines which Prisma schema to use
16 lines
231 B
Docker
16 lines
231 B
Docker
FROM node:12.18-alpine
|
|
|
|
ARG DATABASE_TYPE
|
|
|
|
ENV DATABASE_URL "postgresql://umami:umami@db:5432/umami" \
|
|
DATABASE_TYPE=$DATABASE_TYPE
|
|
|
|
COPY . /app
|
|
WORKDIR /app
|
|
|
|
RUN npm install && npm run build
|
|
|
|
EXPOSE 3000
|
|
|
|
CMD ["npm", "start"]
|