docker build and docker compose fails on step 15 of server
pitch2sell opened this issue · 1 comments
Description
COPY ./server/timesheet-dataarch.yaml /timesheet.yaml
returns error
Step 15/36 : COPY ./server/timesheet-dataarch.yaml /timesheet.yaml
COPY failed: stat /var/lib/docker/tmp/docker-builder060440867/server/timesheet-dataarch.yaml: no such file or directory
To Reproduce
Docker-Compose:
- docker-compose -f "docker-compose.yml" up -d --build
- gets to step 15/36 and then fails
Docker:
- docker build --rm -f "Dockerfile" -t timesheet:latest .
- gets to step 15/36 and then fails
Expected behavior
Expect the container to be created
Docker info:
- OS: MacOS
- Client: Docker Engine - Community
- Version: 18.09.2
Additional context
Add any other context about the problem here.
Hi @pitch2sell, thank you for reporting the issue.
In file dockerFile
please change the line
COPY ./server/timesheet-dataarch.yaml /timesheet.yaml
to
COPY ./server/timesheet-cloud.yaml /timesheet.yaml
in file timesheet-cloud.yaml
please change the lines
url: "timesheet.simplesw.net" # URL on which application is running
to
url: "" # URL on which application is running
and
host: "127.0.0.1" #
to
host: "db"
Did it solve your problem?