1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-23 01:30:01 +01:00

remove Docker

This commit is contained in:
Matthias Kretschmann 2021-02-28 04:56:33 +01:00
parent 56cd0783b8
commit 7313aa5566
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 0 additions and 57 deletions

View File

@ -1,16 +0,0 @@
node_modules
npm-debug.log
Dockerfile*
docker-compose*
.dockerignore
.git
.gitignore
README.md
LICENSE
.vscode
public
.cache
.github
package-lock.json
README.md
coverage

View File

@ -1,25 +0,0 @@
# Dockerfile for local development just installing dependencies.
# Use together with `docker-compose up`
FROM node:alpine
RUN mkdir -p /blog
WORKDIR /blog
COPY package.json .
RUN apk add --no-cache --virtual .build-deps \
g++ \
make \
autoconf \
automake \
libtool \
nasm \
libc6-compat \
libjpeg-turbo-dev \
libpng-dev \
git \
bash \
python \
&& rm -rf /var/cache/apk/* \
&& npm install \
&& npm cache clean --force \
&& apk del .build-deps

View File

@ -163,8 +163,6 @@ If you want to know how this works, have a look at the respective component unde
## ✨ Development ## ✨ Development
You can simply use [Docker](https://www.docker.com) & [Docker Compose](https://docs.docker.com/compose/) or install and run dependencies on your local system.
```bash ```bash
git clone git@github.com:kremalicious/blog.git git clone git@github.com:kremalicious/blog.git
cd blog/ cd blog/
@ -173,10 +171,6 @@ cd blog/
cp .env.sample .env cp .env.sample .env
vi .env vi .env
# use Docker
docker-compose up
# or go with local system
npm i npm i
npm start npm start
``` ```

View File

@ -1,10 +0,0 @@
version: '3'
services:
blog:
build: .
command: npm start
volumes:
- .:/blog
- /blog/node_modules
ports:
- '8000:8000'