aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..0966017
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,17 @@
+FROM node:slim
+
+EXPOSE 3000/tcp
+WORKDIR /usr/app
+COPY ./ ./
+
+SHELL ["/bin/bash", "-c"]
+
+RUN apt update && \
+ apt install openssl -y && \
+ apt clean && \
+ apt autoclean && \
+ apt autoremove && \
+ npm install --ignore-scripts && \
+ npm install -g prisma
+
+ENTRYPOINT ["/bin/bash", "-c", "scripts/image-startup.sh"]