Alirezamp commited on
Commit
17e1be6
·
verified ·
1 Parent(s): 2a605c0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -1,14 +1,14 @@
1
- FROM node:18-alpine
2
- #
3
  EXPOSE 7860
4
  ENV N8N_PORT=7860
5
  ENV WEBHOOK_URL=https://Alirezamp-n8n-domain.hf.space/
6
  ENV VUE_APP_URL_BASE_API=https://Alirezamp-n8n-domain.hf.space/
 
7
 
8
-
 
 
9
 
10
 
11
  RUN npm install n8n -g
12
- CMD ["n8n","start"]
13
-
14
-
 
1
+ FROM node:latest
 
2
  EXPOSE 7860
3
  ENV N8N_PORT=7860
4
  ENV WEBHOOK_URL=https://Alirezamp-n8n-domain.hf.space/
5
  ENV VUE_APP_URL_BASE_API=https://Alirezamp-n8n-domain.hf.space/
6
+ ENV N8N_RUNNERS_ENABLED=true
7
 
8
+ ENV N8N_BASIC_AUTH_ACTIVE=true
9
+ ENV N8N_BASIC_AUTH_USER="amp"
10
+ ENV N8N_BASIC_AUTH_PASSWORD="amptoor"
11
 
12
 
13
  RUN npm install n8n -g
14
+ CMD ["n8n","start"]