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:
20
node_modules/mongo-express/Dockerfile
generated
vendored
20
node_modules/mongo-express/Dockerfile
generated
vendored
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user