Spaces:
Sleeping
Sleeping
Nicky Nicolson
commited on
Commit
·
b660b4c
1
Parent(s):
2dcded2
Reinstate 7860 and build jekyll w.out baseurl
Browse files- Dockerfile +2 -2
- _config.yml +1 -1
- nginx/etc.nginx_nginx.conf +1 -1
Dockerfile
CHANGED
|
@@ -15,7 +15,7 @@ RUN bundle install
|
|
| 15 |
RUN echo here
|
| 16 |
|
| 17 |
COPY . .
|
| 18 |
-
RUN bundle exec jekyll build
|
| 19 |
|
| 20 |
#Copy _sites from build to Nginx Container to serve site
|
| 21 |
USER root
|
|
@@ -47,7 +47,7 @@ COPY --chown=user ./_env_config/stg_dev/utl_dkr_preRun.sh ./scripts/docker/
|
|
| 47 |
RUN chmod +x ./scripts/docker/utl_dkr_preRun.sh
|
| 48 |
|
| 49 |
USER user
|
| 50 |
-
EXPOSE
|
| 51 |
ENTRYPOINT [ "./scripts/docker/utl_dkr_preRun.sh" ]
|
| 52 |
|
| 53 |
# CMD ["nginx", "-g", "daemon off;"]
|
|
|
|
| 15 |
RUN echo here
|
| 16 |
|
| 17 |
COPY . .
|
| 18 |
+
RUN bundle exec jekyll build --baseurl ""
|
| 19 |
|
| 20 |
#Copy _sites from build to Nginx Container to serve site
|
| 21 |
USER root
|
|
|
|
| 47 |
RUN chmod +x ./scripts/docker/utl_dkr_preRun.sh
|
| 48 |
|
| 49 |
USER user
|
| 50 |
+
EXPOSE 7860
|
| 51 |
ENTRYPOINT [ "./scripts/docker/utl_dkr_preRun.sh" ]
|
| 52 |
|
| 53 |
# CMD ["nginx", "-g", "daemon off;"]
|
_config.yml
CHANGED
|
@@ -23,7 +23,7 @@ title: Solanaceae Source
|
|
| 23 |
email: [email protected]
|
| 24 |
description: A global taxonomic resource for the nightshade family
|
| 25 |
baseurl: # the subpath of your site, e.g. /blog
|
| 26 |
-
url: https://nickynicolson-solanaceae-portal.hf.space # the base hostname & protocol for your site, e.g. http://example.com
|
| 27 |
# twitter_username: yourname # if you have an account you want to link to. Else comment this line out
|
| 28 |
# github_username: yourname # if you have an account you want to link to. Else comment this line out
|
| 29 |
|
|
|
|
| 23 |
email: [email protected]
|
| 24 |
description: A global taxonomic resource for the nightshade family
|
| 25 |
baseurl: # the subpath of your site, e.g. /blog
|
| 26 |
+
url: https://nickynicolson-solanaceae-portal.hf.space/ # the base hostname & protocol for your site, e.g. http://example.com
|
| 27 |
# twitter_username: yourname # if you have an account you want to link to. Else comment this line out
|
| 28 |
# github_username: yourname # if you have an account you want to link to. Else comment this line out
|
| 29 |
|
nginx/etc.nginx_nginx.conf
CHANGED
|
@@ -12,7 +12,7 @@ http {
|
|
| 12 |
default_type application/octet-stream;
|
| 13 |
|
| 14 |
server {
|
| 15 |
-
listen
|
| 16 |
server_name localhost;
|
| 17 |
root /usr/share/nginx/html;
|
| 18 |
index index.html;
|
|
|
|
| 12 |
default_type application/octet-stream;
|
| 13 |
|
| 14 |
server {
|
| 15 |
+
listen 7860;
|
| 16 |
server_name localhost;
|
| 17 |
root /usr/share/nginx/html;
|
| 18 |
index index.html;
|