From acc2eb7a26c289dfeed8a1ddae8cb70275110d69 Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Mon, 30 Oct 2023 12:17:19 +0100 Subject: [PATCH] Adjust frontend docker compose --- compose.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/compose.yml b/compose.yml index 67ae548..e7a7415 100644 --- a/compose.yml +++ b/compose.yml @@ -41,21 +41,8 @@ services: - .:/app/ frontend: - build: - context: . - 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 + image: node:${NODE_VERSION}-alpine + working_dir: /app/web command: yarn run tailwind:dev tty: true volumes: