-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adding new dockerfiles for preview environment and relevant cha…
…nges
- Loading branch information
1 parent
8eddba3
commit 8657803
Showing
8 changed files
with
63 additions
and
0 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
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM node:18.17.1-bullseye-slim | ||
|
||
WORKDIR /app | ||
|
||
COPY ./package.json . | ||
|
||
RUN npm install --legacy-peer-deps | ||
|
||
COPY . . | ||
|
||
RUN npm run build --verbose | ||
|
||
ENV PATH="$PATH:/app/node_modules/.bin" | ||
|
||
EXPOSE 5137 | ||
|
||
CMD ["npm", "run", "prod:next", "--host"] |
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM node:18.17.1-bullseye-slim | ||
|
||
WORKDIR /app | ||
|
||
COPY ./package.json . | ||
|
||
RUN npm install --legacy-peer-deps | ||
|
||
COPY . . | ||
|
||
RUN npm run build --verbose | ||
|
||
ENV PATH="$PATH:./node_modules/.bin" | ||
|
||
EXPOSE 5201 | ||
|
||
CMD ["npm", "run", "prod:next", "--host"] |
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM node:18.17.1-bullseye-slim | ||
|
||
WORKDIR /app | ||
|
||
COPY ./package.json . | ||
|
||
RUN npm install --legacy-peer-deps | ||
|
||
COPY . . | ||
|
||
RUN npm run build --verbose | ||
|
||
ENV PATH="$PATH:/app/node_modules/.bin" | ||
|
||
EXPOSE 5200 | ||
|
||
CMD ["npm", "run", "prod:next", "--host"] |
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