Commit 37c7e649 authored by Cameron Carney's avatar Cameron Carney

Updated to v0.7.0-beta

parent 22f114ca
...@@ -3,7 +3,7 @@ FROM alpine:3.6 ...@@ -3,7 +3,7 @@ FROM alpine:3.6
MAINTAINER Cameron Carney <ccarney16@live.com> MAINTAINER Cameron Carney <ccarney16@live.com>
ENV STARTUP_TIMEOUT=5 \ ENV STARTUP_TIMEOUT=5 \
PANEL_VERSION=v0.6.4 PANEL_VERSION=v0.7.0-beta.1
WORKDIR /var/www/html WORKDIR /var/www/html
...@@ -11,7 +11,7 @@ RUN \ ...@@ -11,7 +11,7 @@ RUN \
apk update \ apk update \
&& apk add curl gettext nginx php7 php7 php7-bcmath php7-common php7-dom php7-fpm php7-gd \ && apk add curl gettext nginx php7 php7 php7-bcmath php7-common php7-dom php7-fpm php7-gd \
php7-memcached php7-mbstring php7-openssl php7-pdo php7-phar php7-json php7-pdo_mysql \ php7-memcached php7-mbstring php7-openssl php7-pdo php7-phar php7-json php7-pdo_mysql \
php7-session php7-tokenizer php7-ctype php7-zlib php7-zip supervisor \ php7-session php7-simplexml php7-tokenizer php7-ctype php7-zlib php7-zip supervisor \
&& mkdir -p /var/www/html /run/nginx && mkdir -p /var/www/html /run/nginx
RUN \ RUN \
......
...@@ -54,7 +54,7 @@ services: ...@@ -54,7 +54,7 @@ services:
- cache - cache
- mysql - mysql
env_file: .env env_file: .env
image: quay.io/ccarney/pterodactyl-panel:v0.6.4 image: quay.io/ccarney/pterodactyl-panel:v0.7.0-beta
restart: always restart: always
volumes: volumes:
- ./data:/data - ./data:/data
......
...@@ -12,18 +12,10 @@ function init { ...@@ -12,18 +12,10 @@ function init {
chown -R nginx:nginx /data/storage chown -R nginx:nginx /data/storage
fi fi
if [ ! -d /data/cache ]; then
mkdir -p /data/cache
chown -R nginx:nginx /data/cache
fi
# destroy links (or files) and recreate them # destroy links (or files) and recreate them
rm -rf storage rm -rf storage
ln -s /data/storage storage ln -s /data/storage storage
rm -rf bootstrap/cache
ln -s /data/cache bootstrap/cache
rm -rf .env rm -rf .env
ln -s /data/pterodactyl.conf .env ln -s /data/pterodactyl.conf .env
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment