Adjust frontend docker compose

This commit is contained in:
Florian Hoss 2023-10-30 12:17:19 +01:00
parent 614112aeb2
commit acc2eb7a26

View file

@ -41,21 +41,8 @@ services:
- .:/app/ - .:/app/
frontend: frontend:
build: image: node:${NODE_VERSION}-alpine
context: . working_dir: /app/web
dockerfile_inline: |
ARG NODE_VERSION
FROM node:${NODE_VERSION}-alpine
RUN apk update
RUN apk upgrade
WORKDIR /app/web
COPY ./web/package.json .
COPY ./web/yarn.lock .
RUN yarn install --frozen-lockfile
args:
- NODE_VERSION=${NODE_VERSION}
container_name: frontend
command: yarn run tailwind:dev command: yarn run tailwind:dev
tty: true tty: true
volumes: volumes: