summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile1
-rw-r--r--package.json2
2 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile

index b2329233..48f9dd36 100644 --- a/Dockerfile +++ b/Dockerfile
@@ -8,5 +8,6 @@ RUN apk --no-cache --virtual build-dependencies add \ RUN npm install RUN apk del build-dependencies COPY . . +RUN npm run build EXPOSE 3002 CMD ["npm", "start"] \ No newline at end of file diff --git a/package.json b/package.json
index c5f3df24..c50fcbc5 100644 --- a/package.json +++ b/package.json
@@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "npm run build && node dist/", + "start": "node dist/", "build": "npx tsc -b .", "dev": "tsnd --respawn src/index.ts" },