Adjust frontend docker compose
This commit is contained in:
parent
614112aeb2
commit
acc2eb7a26
1 changed files with 2 additions and 15 deletions
17
compose.yml
17
compose.yml
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue