mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 09:57:00 +01:00
switch to yarn to keep consistency
(cherry picked from commit 5fd19dcb6e167603fd4f5dffe88b1b153060f453)
This commit is contained in:
parent
4d2a51ca49
commit
b21225302b
12
Dockerfile
12
Dockerfile
@ -5,11 +5,13 @@ ARG DATABASE_TYPE
|
|||||||
ENV DATABASE_URL "postgresql://umami:umami@db:5432/umami" \
|
ENV DATABASE_URL "postgresql://umami:umami@db:5432/umami" \
|
||||||
DATABASE_TYPE=$DATABASE_TYPE
|
DATABASE_TYPE=$DATABASE_TYPE
|
||||||
|
|
||||||
COPY . /app
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN npm install && npm run build
|
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
CMD ["npm", "start"]
|
COPY package.json yarn.lock /app/
|
||||||
|
RUN yarn install --frozen-lockfile
|
||||||
|
|
||||||
|
COPY . /app
|
||||||
|
RUN yarn build
|
||||||
|
|
||||||
|
CMD ["yarn", "start"]
|
||||||
|
Loading…
Reference in New Issue
Block a user