-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
FROM php:7.4-apache | ||
COPY . /var/www/html/ | ||
|
||
RUN sed -i 's/80/1912/' /etc/apache2/ports.conf | ||
RUN sed -i 's/80/1912/' /etc/apache2/sites-enabled/000-default.conf | ||
RUN sed -i 's/80/1912/' /etc/apache2/ports.conf && sed -i 's/80/1912/' /etc/apache2/sites-enabled/000-default.conf | ||
|
||
# Add test token | ||
RUN touch private/tokens/20350515-testtoken.txt | ||
|
||
# Add test dirs | ||
RUN mkdir -p private/docs/A001/ | ||
RUN mkdir -p private/docs/G057/ | ||
RUN mkdir -p private/docs/A001/ && mkdir -p private/docs/G057/cors | ||
RUN touch private/docs/G057/clarinette1.pdf | ||
RUN touch private/docs/G057/cors/cor1.pdf && touch private/docs/G057/cors/cor2.pdf |