mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-24 09:17:54 -05:00
docker build -t me/ospos git://github.com/jekkos/opensourcepos.git
then run
docker run -it me/opensourcepos
And head to port 80 to login to a new ospos install.
18 lines
535 B
Docker
18 lines
535 B
Docker
FROM jbfink/docker-lampstack
|
|
MAINTAINER jekkos
|
|
# Install dependencies
|
|
RUN apt-get install -y --no-install-recommends software-properties-common
|
|
RUN apt-get install -y python git
|
|
RUN apt-get update
|
|
# RUN add-apt-repository ppa:chris-lea/node.js
|
|
|
|
# Get latest Ospos source from Git
|
|
RUN git clone https://github.com/jekkos/opensourcepos.git /app
|
|
# RUN cd app && npm install
|
|
|
|
RUN ln -fs /app/* /var/www
|
|
ADD ./start_container.sh /start_container.sh
|
|
RUN chmod 755 /start_container.sh
|
|
EXPOSE 80 3306
|
|
CMD ["/bin/bash", "/start_container.sh"]
|