Skip to content

Commit

Permalink
fix: add build command (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
muse-sisay authored Oct 10, 2024
1 parent 96c5d8e commit 9282186
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ RUN npm ci

COPY . .

RUN npm run build

FROM ghcr.io/patrickdappollonio/docker-http-server:v2.5.0

WORKDIR /html

ENV NODE_ENV production
ENV NODE_ENV=production

COPY --from=builder /app/build/ .

Expand Down

0 comments on commit 9282186

Please sign in to comment.