1
0
mirror of https://github.com/kremalicious/umami.git synced 2024-12-24 02:06:19 +01:00
umami/Dockerfile

16 lines
231 B
Docker
Raw Normal View History

2020-08-19 06:23:04 +02:00
FROM node:12.18-alpine
ARG DATABASE_TYPE
ENV DATABASE_URL "postgresql://umami:umami@db:5432/umami" \
DATABASE_TYPE=$DATABASE_TYPE
2020-08-22 12:00:35 +02:00
2020-08-19 06:23:04 +02:00
COPY . /app
WORKDIR /app
2020-08-21 11:22:07 +02:00
RUN npm install && npm run build
2020-08-19 06:23:04 +02:00
EXPOSE 3000
CMD ["npm", "start"]