Skip to content

Commit f44dd2b

Browse files
committed
Made it so you could build it
1 parent 52f58d9 commit f44dd2b

4 files changed

Lines changed: 923 additions & 2 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,3 @@ web.config
3737
vwd.webinfo
3838
WebEssentials-Settings.json
3939
vendor
40-
composer.lock

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ COPY package.json ./
66

77
RUN npm install
88

9+
RUN npx tsc --version
10+
911
COPY package.json tsconfig.json gulpfile.js ./
1012
COPY assets ./assets
1113
RUN npm run-script build
@@ -14,7 +16,7 @@ RUN npm run-script build
1416
FROM docker.io/php:7.3-apache
1517
LABEL author="Devin Matte <matted@csh.rit.edu>"
1618

17-
RUN echo "deb-src http://deb.debian.org/debian buster main" >> /etc/apt/sources.list
19+
RUN echo "deb-src http://archive.debian.org/debian buster main" >> /etc/apt/sources.list
1820

1921
RUN apt-get -yq update && \
2022
apt-get -yq install \
@@ -59,6 +61,8 @@ RUN a2enmod rewrite && a2enmod headers && a2enmod expires && \
5961
sed -i '/Listen/{s/\([0-9]\+\)/8080/; :a;n; ba}' /etc/apache2/ports.conf && \
6062
chmod og+rwx /var/lock/apache2 && chmod -R og+rwx /var/run/apache2
6163

64+
RUN git config --global --add safe.directory /var/www/html
65+
6266
COPY . /var/www/html
6367
COPY --from=builder /usr/src/schedule/assets/prod /var/www/html/assets/prod
6468

0 commit comments

Comments
 (0)