summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar piotrruss <mail@pruss.it> 2023-08-10 18:42:20 +0200
committerGravatar piotrruss <mail@pruss.it> 2023-08-10 22:47:33 +0200
commitbdb0762696ccf028c30b2957b93a01da7bf67571 (patch)
treeffb3e9483eb5e0fcfa1aed4a6cbecc3b28a9e09a /Dockerfile
downloadauth-service-bdb0762696ccf028c30b2957b93a01da7bf67571.tar.gz
auth-service-bdb0762696ccf028c30b2957b93a01da7bf67571.tar.bz2
auth-service-bdb0762696ccf028c30b2957b93a01da7bf67571.zip
init commit
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..77afd65
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,7 @@
+FROM node:18-alpine
+WORKDIR /app
+COPY package.json /app
+RUN npm i --only=production && npm cache clean --force
+COPY . /app
+CMD node index.js
+EXPOSE 3000