Heuehneje commited on
Commit
4df4140
·
verified ·
1 Parent(s): a7ba85c

Upload 2 files

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -2
Dockerfile CHANGED
@@ -1,3 +1,13 @@
1
- FROM node:18.17.0
 
 
 
 
 
 
 
 
2
  EXPOSE 5678
3
- RUN npx n8n
 
 
 
1
+ FROM node:18.17.0-alpine
2
+
3
+ # Create app directory
4
+ WORKDIR /usr/src/app
5
+
6
+ # Install n8n
7
+ RUN npm install -g n8n
8
+
9
+ # Expose the default n8n port
10
  EXPOSE 5678
11
+
12
+ # Set the entrypoint
13
+ ENTRYPOINT ["n8n"]