Compare commits
4 commits
7173e818bf
...
6d177d34b0
Author | SHA1 | Date | |
---|---|---|---|
6d177d34b0 | |||
3e88e85e7e | |||
eb2e6d9bdb | |||
2d73662b37 |
4 changed files with 5 additions and 11 deletions
|
@ -3,12 +3,13 @@ FROM node:18.20.4
|
||||||
ENV DOCKERIZE_VERSION v0.2.0
|
ENV DOCKERIZE_VERSION v0.2.0
|
||||||
RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
|
RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
|
||||||
&& tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
|
&& tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
|
||||||
|
RUN npm i -g pnpm
|
||||||
|
|
||||||
RUN mkdir app
|
RUN mkdir app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN pnpm install
|
RUN pnpm install
|
||||||
RUN pnpm db:push
|
RUN pnpm db:generate
|
||||||
RUN pnpm build
|
RUN pnpm build
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -17,14 +17,7 @@ const compat = new FlatCompat({
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
ignores: [
|
ignores: ['**/dist/', '**/.vscode/', '**/.idea/', '**/node_modules/'],
|
||||||
'**/.yarn/',
|
|
||||||
'**/.pnp.*',
|
|
||||||
'**/dist/',
|
|
||||||
'**/.vscode/',
|
|
||||||
'**/.idea/',
|
|
||||||
'**/tsup.config.ts',
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
...compat.extends('plugin:@typescript-eslint/recommended', 'prettier'),
|
...compat.extends('plugin:@typescript-eslint/recommended', 'prettier'),
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"ext": "ts,json",
|
"ext": "ts,json",
|
||||||
"exec": "pnpm build --sourcemap && node dist/src",
|
"exec": "tsc --sourcemap && cross-env NODE_ENV=development node --enable-source-maps dist/src",
|
||||||
"ignore": ["dist/**/*.*"]
|
"ignore": ["dist/**/*.*"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "muffinbot",
|
"name": "muffinbot",
|
||||||
"version": "4.0.0-pudding.p241027a",
|
"version": "4.0.0-pudding.r241027a",
|
||||||
"main": "dist/src/index.js",
|
"main": "dist/src/index.js",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Reference in a new issue