0aa6e7c704
This reverts commitf2df3b03d2
, reversing changes made to902e0fea3c
.
38 lines
811 B
Plaintext
38 lines
811 B
Plaintext
FROM node:18-alpine
|
|
|
|
ARG BUILD_DATE
|
|
|
|
LABEL \
|
|
maintainer="Jordan Roher <jordan@notclickable.com>" \
|
|
org.opencontainers.image.authors="Jordan Roher <jordan@notclickable.com>" \
|
|
org.opencontainers.image.title="starbase-80" \
|
|
org.opencontainers.image.description="A nice app grid of icons for Docker services" \
|
|
org.opencontainers.image.created=$BUILD_DATE
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json .
|
|
RUN npm i
|
|
|
|
COPY . .
|
|
|
|
ENV NODE_ENV production
|
|
|
|
ENV TITLE "My Website"
|
|
ENV LOGO "/logo.png"
|
|
ENV HEADER "true"
|
|
ENV HEADERLINE "true"
|
|
ENV HEADERTOP "false"
|
|
ENV CATEGORIES "normal"
|
|
ENV BGCOLOR "theme(colors.slate.50)"
|
|
ENV BGCOLORDARK "theme(colors.gray.950)"
|
|
ENV NEWWINDOW "true"
|
|
|
|
COPY version /
|
|
|
|
EXPOSE 4173
|
|
|
|
RUN chmod +x /app/docker-entrypoint.sh
|
|
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
|
|
|
CMD ["npm", "run", "start"] |