Refactor much needed docker setup

- Build static files inside seperate container
- Remove unnecessary env variables
This commit is contained in:
sonny 2020-05-02 20:21:22 +02:00
parent d61b3a9498
commit 7fc899937d
5 changed files with 59 additions and 37 deletions

9
docker/webpack Normal file
View file

@ -0,0 +1,9 @@
FROM node:12
WORKDIR /app
COPY package.json package-lock.json /app/
RUN npm install
COPY . /app/