Skip to content

Commit

Permalink
fix: Simplified dockerfile further
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Cavanagh committed May 20, 2023
1 parent 8e8a47d commit 1285e03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
FROM node:18

COPY . ./app

WORKDIR /app

RUN pwd && ls -lah && ls -lah node_mdoules

RUN npm install -g pnpm

RUN pnpm build

ENTRYPOINT /app/entrypoint.sh
ENTRYPOINT ./entrypoint.sh
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

cd /app && pnpm start:prod
pnpm start:prod

0 comments on commit 1285e03

Please sign in to comment.