PHP Classes

File: apps/Front-End-App/Dockerfile

Recommend this page to a friend!
  Classes of mohammad anzawi   PHP Hotel Booking Available   apps/Front-End-App/Dockerfile   Download  
File: apps/Front-End-App/Dockerfile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Hotel Booking Available
Search for hotels that are available for booking
Author: By
Last change:
Date: 2 years ago
Size: 510 bytes
 

Contents

Class file image Download
FROM node:10-alpine as build-step # Set working directory WORKDIR /var/www/Front-End-App # Clear cache RUN apt-get clean && rm -rf /var/lib/apt/lists/* COPY package.json /app RUN npm install # Copy existing application directory contents COPY . /var/www/Front-End-App # Copy existing application directory permissions COPY --chown=www:www . /var/www/Front-End-App # Change current user to www USER www RUN npm run build FROM nginx:1.17.1-alpine COPY --from=build-step /app/build /usr/share/nginx/html