mirror of
https://github.com/logos-messaging/logos-messaging-frontend.git
synced 2026-01-03 14:23:10 +00:00
use httpd image
This commit is contained in:
parent
fb2ceb6f7d
commit
54413491e5
12
Dockerfile
12
Dockerfile
@ -1,8 +1,4 @@
|
||||
FROM node:18
|
||||
WORKDIR /app
|
||||
RUN npm i -g serve
|
||||
RUN mkdir -p ./_next
|
||||
COPY ./out/* ./
|
||||
COPY ./out/_next ./_next
|
||||
EXPOSE 3000
|
||||
CMD ["npx", "serve", "./"]
|
||||
FROM httpd:2.4
|
||||
RUN mkdir -p /usr/local/apache2/htdocs/_next
|
||||
COPY ./out/* /usr/local/apache2/htdocs/
|
||||
COPY ./out/_next /usr/local/apache2/htdocs/_next
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user