File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -38,22 +38,17 @@ RUN mkdir -p /var/lib/vilesql && \
3838COPY  --from=builder /app/vilesql /usr/local/bin/vilesql
3939
4040#  Copy configuration files
41- COPY  --from=builder /app/.env /etc/vilesql/.env
4241COPY  --from=builder /app/scripts/ /usr/local/share/vilesql/scripts/
4342
4443#  Set proper permissions
45- RUN  chmod +x /usr/local/bin/vilesql && \
46-     chown vilesql:vilesql /etc/vilesql/.env
44+ RUN  chmod +x /usr/local/bin/vilesql
4745
4846#  Switch to non-root user
4947USER  vilesql
5048
5149#  Set working directory
5250WORKDIR  /var/lib/vilesql
5351
54- #  Copy .env file to working directory
55- #  COPY --from=builder /app/.env /var/lib/vilesql/.env
56- 
5752#  Environment variables
5853ENV  VILESQL_DATA_DIR=/var/lib/vilesql
5954ENV  PORT=5000
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments