Fix: remove workdir in Dockerfile

It fixes the following permission problem:

```
% docker-compose up -d
Starting bitlbee ...
Starting bitlbee ... error

ERROR: for bitlbee  Cannot start service app: OCI runtime create failed: container_linux.go:346: starting container process caused "chdir to cwd (\"/root\") set in config.json failed: permission denied": unknown

ERROR: for app  Cannot start service app: OCI runtime create failed: container_linux.go:346: starting container process caused "chdir to cwd (\"/root\") set in config.json failed: permission denied": unknown
ERROR: Encountered errors while bringing up the project.
```
This commit is contained in:
Michele Bologna
2020-04-18 12:36:32 +02:00
parent f9da89ba8c
commit c9bd1b6cad

View File

@@ -5,7 +5,6 @@ LABEL version="mb-3.6-20200107"
ENV BITLBEE_VERSION=3.6
WORKDIR /root
COPY build.sh /root
RUN /root/build.sh