EnzGamers commited on
Commit
a399c34
·
verified ·
1 Parent(s): 4aba9cc

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -27
Dockerfile DELETED
@@ -1,27 +0,0 @@
1
- # Use a Node.js base image
2
- FROM node:18-alpine
3
- USER root
4
-
5
- # Set build-time arguments with default paths
6
- ARG N8N_PATH=/usr/local/lib/node_modules/n8n
7
- ARG DATA_PATH=/root/.n8n
8
- ARG DATABASE_PATH=$DATA_PATH
9
- ARG LOG_PATH=$DATA_PATH/logs
10
-
11
- # Install required dependencies
12
- RUN apk add --no-cache git python3 py3-pip make g++ build-base
13
-
14
- # Install n8n globally
15
- RUN npm install -g n8n
16
-
17
- # Create necessary directories and set permissions
18
- RUN mkdir -p $LOG_PATH $N8N_PATH/uploads && chmod -R 777 $LOG_PATH $N8N_PATH
19
-
20
- # Set the working directory
21
- WORKDIR /data
22
-
23
- # Expose default n8n port
24
- EXPOSE 5678
25
-
26
- # Define the default command to start n8n
27
- CMD ["n8n"]