mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-22 17:23:50 +01:00
remove Docker
This commit is contained in:
parent
56cd0783b8
commit
7313aa5566
@ -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
|
25
Dockerfile
25
Dockerfile
@ -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
|
@ -163,8 +163,6 @@ If you want to know how this works, have a look at the respective component unde
|
||||
|
||||
## ✨ 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
|
||||
git clone git@github.com:kremalicious/blog.git
|
||||
cd blog/
|
||||
@ -173,10 +171,6 @@ cd blog/
|
||||
cp .env.sample .env
|
||||
vi .env
|
||||
|
||||
# use Docker
|
||||
docker-compose up
|
||||
|
||||
# or go with local system
|
||||
npm i
|
||||
npm start
|
||||
```
|
||||
|
@ -1,10 +0,0 @@
|
||||
version: '3'
|
||||
services:
|
||||
blog:
|
||||
build: .
|
||||
command: npm start
|
||||
volumes:
|
||||
- .:/blog
|
||||
- /blog/node_modules
|
||||
ports:
|
||||
- '8000:8000'
|
Loading…
Reference in New Issue
Block a user