-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dockerfile): update dev dockerfile to build node_modules rather t…
…han using local
- Loading branch information
1 parent
2b4ac50
commit 9600a71
Showing
1 changed file
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# Development Dockerfile for Next.js and pnpm | ||
FROM node:16-alpine AS deps | ||
RUN apk add --no-cache libc6-compat | ||
WORKDIR /app | ||
|
||
# Ls the current directory | ||
COPY . . | ||
|
||
RUN npm install -g pnpm | ||
|
||
RUN pnpm install --frozen-lockfile | ||
|
||
EXPOSE 3000 | ||
|
||
CMD ["pnpm", "dev"] | ||
# Development Dockerfile for Next.js and pnpm | ||
FROM node:16-alpine AS deps | ||
RUN apk add --no-cache libc6-compat | ||
WORKDIR /app | ||
|
||
COPY . . | ||
|
||
RUN npm install -g pnpm | ||
|
||
RUN pnpm install --frozen-lockfile | ||
|
||
EXPOSE 3000 | ||
|
||
CMD ["pnpm", "dev"] | ||
|
9600a71
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
runemarkers – ./
www.runemarkers.net
runemarkers-jamiegyoung.vercel.app
runemarkers.net
runemarkers-git-main-jamiegyoung.vercel.app
runemarkers.vercel.app