umami/Dockerfile

13 lines
177 B
Docker
Raw Normal View History

2020-08-19 06:23:04 +02:00
FROM node:12.18-alpine
2020-08-22 12:00:35 +02:00
ENV DATABASE_URL "postgresql://umami:umami@db:5432/umami"
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"]