Browse Source

docker: rename sixohthree to pelican

pull/1/head
Annika Backstrom 1 year ago
parent
commit
f12444951b
2 changed files with 7 additions and 3 deletions
  1. 2
    2
      bin/docker-build-image
  2. 5
    1
      docker-compose.yml

+ 2
- 2
bin/docker-build-image View File

@@ -1,9 +1,9 @@
1 1
 #!/bin/sh
2 2
 
3
-docker build -t images.abackstrom.com/sixohthree .
3
+docker build -t images.abackstrom.com/pelican .
4 4
 docker build -t images.abackstrom.com/sass -f Dockerfile.sass .
5 5
 
6 6
 if [ "$1" = "upload" ] ; then
7
-    docker push images.abackstrom.com/sixohthree
7
+    docker push images.abackstrom.com/pelican
8 8
     docker push images.abackstrom.com/sass
9 9
 fi

+ 5
- 1
docker-compose.yml View File

@@ -2,11 +2,15 @@ version: '3.6'
2 2
 
3 3
 services:
4 4
   pelican:
5
-    image: images.abackstrom.com/sixohthree
5
+    build: .
6
+    image: images.abackstrom.com/pelican
6 7
     working_dir: /sixohthree.com
7 8
     volumes:
8 9
       - ./:/sixohthree.com
9 10
   sass:
11
+    build:
12
+      context: .
13
+      dockerfile: Dockerfile.sass
10 14
     image: images.abackstrom.com/sass
11 15
     working_dir: /css
12 16
     volumes:

Loading…
Cancel
Save