make the tailwind generated css file smaller (kBs instead of mBs)
This commit is contained in:
parent
1ec4f14a4a
commit
64ddd190b6
17
Dockerfile
17
Dockerfile
|
|
@ -1,15 +1,24 @@
|
|||
FROM node:current-alpine
|
||||
COPY . /app/
|
||||
WORKDIR /app
|
||||
ENV NODE_ENV=production
|
||||
RUN yarn install && yarn build && rm -rf node_modules
|
||||
|
||||
|
||||
FROM python:3-slim-buster
|
||||
|
||||
WORKDIR /app
|
||||
ENV PYTHONDONTWRITEBYTECODE 1
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
ENV DATABASE_URL sqlite:////data/app.db
|
||||
COPY ./requirements.txt /app/requirements.txt
|
||||
ENV FLASK_APP app
|
||||
ENV FLASK_DEBUG 0
|
||||
COPY ./requirements.txt /requirements.txt
|
||||
RUN apt-get update && \
|
||||
apt-get install -y gosu && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
pip install -r requirements.txt && pip install gunicorn
|
||||
COPY . /app/
|
||||
pip install -r /requirements.txt && pip install gunicorn
|
||||
COPY --from=0 /app/ /app
|
||||
WORKDIR /app
|
||||
RUN flask digest compile
|
||||
ENTRYPOINT ["/app/entrypoint.sh"]
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "app:create_app()"]
|
||||
|
|
|
|||
107732
app/static/style.css
107732
app/static/style.css
File diff suppressed because it is too large
Load Diff
|
|
@ -1,5 +1,7 @@
|
|||
module.exports = {
|
||||
purge: [],
|
||||
purge: [
|
||||
'./app/templates/**/*.html',
|
||||
],
|
||||
theme: {
|
||||
extend: {},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue