Fix frontend dev docker setup
This commit is contained in:
parent
087139732a
commit
e7325fbb54
2 changed files with 17 additions and 1 deletions
14
front/Dockerfile.dev
Normal file
14
front/Dockerfile.dev
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue