Fix frontend dev docker setup

gitpod/test-1866
Georg Krause 2022-06-30 14:10:19 +02:00
rodzic 087139732a
commit e7325fbb54
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 2970D504B2183D22
2 zmienionych plików z 17 dodań i 1 usunięć

Wyświetl plik

@ -2,7 +2,9 @@ version: "3"
services:
front:
build: front
build:
context: front
dockerfile: Dockerfile.dev
env_file:
- .env.dev
- .env

Wyświetl plik

@ -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"]