mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 22:30:23 +00:00
fix: docker file
This commit is contained in:
parent
50bd98d91e
commit
0288c97e3b
@ -40,4 +40,5 @@ RUN yarn build
|
|||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
||||||
# Running the app
|
# Running the app
|
||||||
CMD './startup.sh'
|
RUN chmod +x /usr/src/app/startup.sh
|
||||||
|
CMD yarn start
|
||||||
@ -5,7 +5,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next start & (sleep 1; wget http://localhost:3000/api -O /dev/null)",
|
||||||
"lint": "eslint --ext ts,tsx .",
|
"lint": "eslint --ext ts,tsx .",
|
||||||
"lint:fix": "eslint --ext ts,tsx . --fix",
|
"lint:fix": "eslint --ext ts,tsx . --fix",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
yarn start & (sleep 1; wget http://localhost:3000/api -O /dev/null)
|
|
||||||
Loading…
x
Reference in New Issue
Block a user