Dont push .env and other '.' folders
This commit is contained in:
parent
0e64f654ec
commit
2a4a1e8e14
@ -1,2 +1,3 @@
|
||||
node_modules
|
||||
npm-debug.log
|
||||
.*
|
||||
|
||||
2
.env
2
.env
@ -8,3 +8,5 @@ EO_API_UDG_URL = unified-data-gateway/default/graphql
|
||||
|
||||
JWT_SECRET = 12356789
|
||||
PORT = 3000
|
||||
|
||||
REDIS_URL = redis://localhost:6379
|
||||
@ -12,7 +12,7 @@ WORKDIR /usr/src/app
|
||||
COPY package*.json ./
|
||||
|
||||
# continuous integration for production
|
||||
RUN npm ci --only=production
|
||||
RUN npm ci --omit=dev
|
||||
|
||||
# Bundle app source
|
||||
COPY . .
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user