# Bug OP-6861 - Dockerfile does not work on Windows

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-6861

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 10.5.0 |
| Observed in versions |  |
| Sprint | 10.5.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

OpenProject Version: Latest 'dev' branch of Github repo

Operating System / Browser / Language: Windows 10,  Docker v2.2.0.4

### **Logs**

Getting error when trying to run the 'docker-compose.yml' file

``` text
PS C:\....\openproject> docker-compose up -d
Building web
Step 1/50 : FROM ruby:2.6-stretch AS pgloader
 ---> 6a9327dc91a5
Step 2/50 : RUN apt-get update -qq && apt-get install -y libsqlite3-dev make curl gawk freetds-dev libzip-dev
 ---> Using cache
 ---> 6eb1b37f899d
Step 3/50 : COPY docker/mysql-to-postgres/bin/build /tmp/build-pgloader
 ---> Using cache
 ---> f1579c7c80df
Step 4/50 : RUN /tmp/build-pgloader && rm /tmp/build-pgloader
 ---> Running in 8faef6e0a4da
/bin/sh: 1: /tmp/build-pgloader: not found
ERROR: Service 'web' failed to build: The command '/bin/sh -c /tmp/build-pgloader && rm /tmp/build-pgloader' returned a non-zero code: 127
```

**Steps to reproduce:**

1.  clone the dev branch of OpenProject from Github
    1.  git clone <https://github.com/opf/openproject>
2.  Run \>docker-compose up -d

### **Actual Behavior**

Getting following ERROR:

`ERROR: Service 'web' failed to build: The command '/bin/sh -c /tmp/build-pgloader && rm /tmp/build-pgloader' returned a non-zero code: 127`

### **Expected Behavior**

Being able to run OpenProject in docker environment on Windows 10
