Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
deploy/
.git/
.github/
.DS_Store/
Dockerfile
.dockerignore
.prettierignore
README*
LICENSE*
163 changes: 163 additions & 0 deletions .yarn/plugins/@ojkelly/plugin-build.cjs

Large diffs are not rendered by default.

75 changes: 75 additions & 0 deletions .yarn/plugins/@ojkelly/plugin-bundle.cjs

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-typescript.cjs

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
nodeLinker: pnp
pnpMode: strict

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: "@yarnpkg/plugin-typescript"
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"
- path: .yarn/plugins/@ojkelly/plugin-build.cjs
spec: "https://yarn.build/latest/build"
- path: .yarn/plugins/@ojkelly/plugin-bundle.cjs
spec: "https://yarn.build/latest/bundle"

packageExtensions:
react-dev-utils@*:
peerDependencies:
typescript: "*"
webpack: "*"
eslint-config-react-app@*:
peerDependencies:
"@babel/plugin-syntax-flow": "*"
"@babel/plugin-transform-react-jsx": "*"
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM node:17-alpine as node
RUN corepack enable

FROM node as base
WORKDIR /builder
COPY . .
RUN yarn install --immutable

FROM base as dbmigrate-builder
WORKDIR /builder/home2-dbmigrate
RUN mkdir -p /app
RUN yarn bundle --output-directory /app --no-compress

FROM node as dbmigrate
COPY --from=dbmigrate-builder /app/ /app
WORKDIR /app/home2-dbmigrate
ENTRYPOINT ["yarn", "run"]
CMD ["migrate:status"]
5 changes: 0 additions & 5 deletions home2-dbmigrate/Dockerfile

This file was deleted.

Loading