From e6be98a831c02655093903d531640caab4cc3b66 Mon Sep 17 00:00:00 2001 From: networkException Date: Wed, 5 Jan 2022 15:53:14 +0100 Subject: [PATCH] Container: Add source files to public directory --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 589d6b9..1ce6caf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,8 @@ RUN npm install --production COPY . /usr/src/app RUN npx tsc -p tsconfig.json +RUN cp -r /usr/src/app/src /usr/src/app/public + FROM httpd:alpine COPY --from=build /usr/src/app/public/ /usr/local/apache2/htdocs/