summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 77adb9e..79f2cc5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,5 +2,10 @@ FROM node:latest
WORKDIR /app
+COPY . .
+
RUN npm install && npm run build
-RUN serve -S dist
+
+EXPOSE 3000
+
+ENTRYPOINT ["npx", "serve", "-S", "dist"]