Skip to content

Commit

Permalink
Merge pull request tuandm#349 from tuandm/dat/fix_docker_run
Browse files Browse the repository at this point in the history
fix: Docker image outdate issue
  • Loading branch information
tuandm authored Aug 12, 2022
2 parents d967f4d + 399a575 commit b56ec75
Show file tree
Hide file tree
Showing 4 changed files with 209 additions and 519 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Set the base image for subsequent instructions
FROM php:7.2
FROM php:7.3

WORKDIR /var/www

# Update packages

RUN curl -sL https://deb.nodesource.com/setup_11.x | bash - \
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - \
&& apt-get update \
&& apt-get install -y nodejs netcat libmcrypt-dev libjpeg-dev libpng-dev libfreetype6-dev libbz2-dev nodejs git \
&& apt-get install -y nodejs netcat libmcrypt-dev libjpeg-dev libpng-dev libzip-dev libfreetype6-dev libbz2-dev nodejs git \
&& apt-get clean

# Install extensions
Expand Down
Loading

0 comments on commit b56ec75

Please sign in to comment.