Fix production build issue
This commit is contained in:
@@ -6,9 +6,6 @@ services:
|
||||
dockerfile: docker/Dockerfile
|
||||
restart: unless-stopped
|
||||
image: registry.chiefsoft.net/wrenchboardmainsite_wrenchboard-www:latest
|
||||
volumes:
|
||||
- ./:/app
|
||||
- '/app/node_modules'
|
||||
ports:
|
||||
- 9081:3000
|
||||
extra_hosts:
|
||||
|
||||
@@ -114,8 +114,6 @@ COPY . ./
|
||||
# build app
|
||||
RUN npm run-script build
|
||||
|
||||
COPY build ./
|
||||
|
||||
# start app
|
||||
CMD ["serve", "-s", "build"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user