# \[SOLVED\] Missing Dockerfiles after pulling latest image

**URL:** <https://vaultwarden.discourse.group/t/solved-missing-dockerfiles-after-pulling-latest-image/314>\
**Category:** Help\
**Created:** [September 22, 2020, 10:53am UTC](https://vaultwarden.discourse.group/t/solved-missing-dockerfiles-after-pulling-latest-image/314 "2020-09-22T10:53:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bokkabonga](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@bokkabonga](https://vaultwarden.discourse.group/u/bokkabonga)\
**Post date:** [September 22, 2020, 10:53am UTC](https://vaultwarden.discourse.group/t/solved-missing-dockerfiles-after-pulling-latest-image/314/1 "2020-09-22T10:53:45Z")

</div>

Hello everyone,

i tried to Update my Bitwarden\_rs today and ran into some problems. I previously used docker-compose to build and run the containers i needed. So after pulling the newest Updates from the git repository i tried to compile the new Version. However this lead to some problems.

I used mysql as a database so far, instead of sqlite, which lead me to give the following parameter in my docker.compose.yml:

```
build:
    context: ./bitwarden_rs
    dockerfile: docker/amd64/mysql/Dockerfile

```

However this folder is no longer present after pulling the latest updates via git. I am pretty sure, that i did something different the last time around, but for the love of god: I can´t figure out , what excatly i did.

If any of you would have some advice, i would be very grateful.

Kind Regards

---

<div class="post-metadata">

**Author:** ![jjlin](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@jjlin](https://vaultwarden.discourse.group/u/jjlin)\
**Post date:** [September 22, 2020, 7:09pm UTC](https://vaultwarden.discourse.group/t/solved-missing-dockerfiles-after-pulling-latest-image/314/2 "2020-09-22T19:09:23Z")

</div>

There are no longer separate images built for different database backends, so you should use `docker/amd64/Dockerfile` if you really want to build the image yourself. Is there some particular reason you don’t just use the pre-built images from [https://hub.docker.com/u/bitwardenrs](https://hub.docker.com/u/bitwardenrs)?

---

<div class="post-metadata">

**Author:** ![bokkabonga](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@bokkabonga](https://vaultwarden.discourse.group/u/bokkabonga)\
**Post date:** [September 23, 2020, 8:37am UTC](https://vaultwarden.discourse.group/t/solved-missing-dockerfiles-after-pulling-latest-image/314/3 "2020-09-23T08:37:11Z")

</div>

Hey @jjlin ,

i think i didnt know about those pre-built images back when i set up the server., which is why i compiled the image myself. Had to fix the dockerfile location, as you described and added the following to my docker-compose and it worked like a charm:

```
args:
  DB: mysql
```
