mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-12 16:57:39 -05:00
Twitter card support
This commit is contained in:
@@ -15,7 +15,10 @@ RUN npm run build
|
||||
# production environment
|
||||
FROM node:13.12.0-alpine
|
||||
RUN mkdir -p /app/public
|
||||
COPY ./package.json /tmp
|
||||
RUN cd /tmp && npm install
|
||||
RUN cp -a /tmp/node_modules /app
|
||||
WORKDIR /app
|
||||
RUN npm install -g serve
|
||||
COPY server /app
|
||||
COPY --from=build /app/build /app/public
|
||||
CMD serve -s public -l 3000
|
||||
CMD ["node", "index.js"]
|
||||
Reference in New Issue
Block a user