Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
chore: use pnpm in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
trowik committed Dec 29, 2022
1 parent 374efe4 commit c67d56d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
FROM danlynn/ember-cli:latest as build
FROM danlynn/ember-cli:3.28.0 as build

COPY package.json yarn.lock /myapp/
RUN npm install -g pnpm

RUN yarn install
COPY package.json pnpm-lock.yaml /myapp/

RUN pnpm fetch

COPY . /myapp/

RUN yarn build --environment=production
RUN pnpm install --frozen-lockfile --offline

RUN pnpm run build --environment=production

FROM nginx:alpine

Expand Down

0 comments on commit c67d56d

Please sign in to comment.