forked from tsedio/tsed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add docker compose to test issue
- Loading branch information
Showing
5 changed files
with
38 additions
and
4 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
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,21 @@ | ||
ARG NODE_VERSION=14.20.0 | ||
ARG YARN_VERSION=1.22.15 | ||
|
||
FROM node:${NODE_VERSION}-alpine as builder | ||
WORKDIR /src | ||
|
||
RUN npm config set unsafe-perm true | ||
RUN apk update && apk add bash curl git | ||
|
||
RUN npm install -g --force yarn@${YARN_VERSION} | ||
|
||
COPY .git ./.git/ | ||
COPY scripts ./scripts/ | ||
COPY test ./test/ | ||
COPY packages ./packages/ | ||
COPY tools ./tools/ | ||
COPY package.json lerna.json yarn.lock tsconfig.base.json tsconfig.compile.json tsconfig.json ./ | ||
|
||
RUN yarn install --frozen-lockfile --ignore-scripts | ||
|
||
CMD yarn lerna run start:express --scope @tsed/platform-express --stream |
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,14 @@ | ||
version: "3.3" | ||
services: | ||
test: | ||
image: tsed/root | ||
build: | ||
context: . | ||
args: | ||
- http_proxy | ||
- https_proxy | ||
- no_proxy | ||
volumes: | ||
- ./packages:/src/packages | ||
ports: | ||
- "8081:8081" |
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