Fix frontend dev docker setup

This commit is contained in:
Georg Krause 2022-06-30 14:10:19 +02:00
commit e7325fbb54
No known key found for this signature in database
GPG key ID: 2970D504B2183D22
2 changed files with 17 additions and 1 deletions

14
front/Dockerfile.dev Normal file
View file

@ -0,0 +1,14 @@
FROM node:16-buster
# needed to compile translations
RUN apt-get update && apt-get install -y jq
EXPOSE 8080
WORKDIR /app/
COPY scripts/ ./scripts/
ADD package.json yarn.lock ./
RUN yarn install
COPY . .
CMD ["yarn", "serve"]