I can't install my dev dependencies from Package.json

Hi all

I'm finally trying Docker but I'm unable to get it working correctly and need a little help.

I am installing Directus and I used their image in docker_compose which installed fine. I'm now trying to create custom extensions inside Directus and I need to install some node packages: 

I have tried to keep my setup simple so I have a root project directory called test and then I have two sub folders, one for my nuxt to host my frontend I.e. test/frontend and one for my backend test/backend which will host Directus.

Here is my Docker_compose file located in my root directory (test):

```

services:

frontend:

build:

context: ./frontend

dockerfile: Dockerfile

ports:

- '3000:3000'

volumes:

- ./frontend:/app

- /app/node_modules

environment:

NODE_ENV: development

backend:

image: directus/directus:latest

build:

context: ./frontend

dockerfile: Dockerfile

ports:

- 8055:8055

volumes:

- ./backend/extensions:/directus/extensions

- ./backend/uploads:/directus/uploads

environment:

SECRET: 'replace-with-secure-random-value'

ADMIN_EMAIL: 'admin@example.com'

ADMIN_PASSWORD: 'd1r3ctu5'

DB_CLIENT: 'mysql'

DB_HOST: 'mysql'

DB_PORT: 3306

DB_DATABASE: 'directus'

DB_USER: 'root'

DB_PASSWORD: 'password'

WEBSOCKETS_ENABLED: 'true'

mysql:

image: mysql:8.0

environment:

MYSQL_ROOT_PASSWORD: 'password'

MYSQL_DATABASE: 'directus'

volumes:

- ./backend/mysql-data:/var/lib/mysql

ports:

- '3306:3306'

```

And this is my Dockerfile located in test/backend

```

# Use the official Node.js image

FROM node:18-alpine

# Set the working directory inside the container

WORKDIR /app

# Copy package.json and package-lock.json

COPY package*.json ./

# Install dependencies

RUN npm install

# Copy the rest of the application

COPY . .

# Expose the port Nuxt will run on

EXPOSE 8055

# Command to run the application in development mode

CMD ["directus", "start"]

```

This is my package.json file located in test/backend which includes the packages I want to install

```

{

"name": "backend",

"version": "1.0.0",

"main": "index.js",

"scripts": {

"test": "echo \"Error: no test specified\" && exit 1"

},

"keywords": [],

"author": "",

"license": "ISC",

"description": "",

"dependencies": {

"@directus/extensions-sdk": "^12.1.3",

"googleapis": "^144.0.0",

"typescript": "^4.8.4"

}

}

```

Can someone spot what I have done wrong?

Thanks