dockerfile
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
FROM node
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm install --production
|
||||
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
version: "3"
|
||||
services:
|
||||
captain-app:
|
||||
frontend:
|
||||
container_name: frontend
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
working_dir: /app
|
||||
command: ["node", "index.js"]
|
||||
context: ./
|
||||
dockerfile: ./Dockerfile
|
||||
ports:
|
||||
- "8081:8081"
|
||||
volumes:
|
||||
- .:/app
|
||||
env_file:
|
||||
- stack.env
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user