Added: tests, signin api, not working docker
This commit is contained in:
		
							
								
								
									
										23
									
								
								api/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								api/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
FROM node:18-alpine
 | 
			
		||||
 | 
			
		||||
WORKDIR /nork
 | 
			
		||||
 | 
			
		||||
COPY ../../nork .
 | 
			
		||||
 | 
			
		||||
RUN npm install
 | 
			
		||||
 | 
			
		||||
RUN npm run build
 | 
			
		||||
 | 
			
		||||
RUN npm link
 | 
			
		||||
 | 
			
		||||
WORKDIR /app
 | 
			
		||||
 | 
			
		||||
COPY package*.json ./
 | 
			
		||||
 | 
			
		||||
RUN npm install
 | 
			
		||||
 | 
			
		||||
COPY . .
 | 
			
		||||
 | 
			
		||||
EXPOSE 3000
 | 
			
		||||
 | 
			
		||||
CMD ["npm", "start"]
 | 
			
		||||
		Reference in New Issue
	
	Block a user