1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-12 02:42:48 +00:00

updated bunch of file paths and changed the way posts are loaded

This commit is contained in:
2016-01-05 12:28:04 -06:00
parent 4bb8cae81e
commit 6ab45fe935
13249 changed files with 317868 additions and 2101398 deletions

View File

@@ -1,12 +1,22 @@
FROM node:latest
FROM node:0.12-slim
ENV TINI_VERSION 0.5.0
RUN set -x \
&& apt-get update && apt-get install -y ca-certificates curl \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& curl -fSL "https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini" -o /usr/local/bin/tini \
&& chmod +x /usr/local/bin/tini \
&& tini -h \
&& apt-get purge --auto-remove -y ca-certificates curl
WORKDIR /app
ADD . /app
COPY . /app
RUN npm install
RUN cp config.default.js config.js
ENV ME_CONFIG_MONGODB_SERVER="mongo"
EXPOSE 8081
CMD ["npm", "start"]
CMD ["tini", "--", "npm", "start"]