Container: Add source files to public directory
This commit is contained in:
parent
3a36bb4ef7
commit
e6be98a831
1 changed files with 2 additions and 0 deletions
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue