aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2022-05-30 00:53:36 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2022-05-30 20:05:40 -0500
commit97273fe071d4aed0f6aefecce99981d4b5ba37ee (patch)
treec2193b1eeb504b508a1e079b022a42f7ad0cb68d /Dockerfile
parent30d2c741d8df965d5f15404fc471c6a7dd11ee7c (diff)
downloadhomepage-97273fe071d4aed0f6aefecce99981d4b5ba37ee.tar.xz
homepage-97273fe071d4aed0f6aefecce99981d4b5ba37ee.zip
Add new post
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..2efe458
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,12 @@
+FROM node:current
+
+WORKDIR /src
+
+COPY . ./
+
+RUN rm -rf ./node_modules ./.next
+
+RUN npm install
+RUN npm run build
+
+CMD ["npm", "run", "start"]