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
FROM node:8.12.0-alpine | |
RUN apk add python \ | |
&& apk add make \ | |
&& apk add g++ \ | |
&& apk add tzdata | |
RUN cp /usr/share/zoneinfo/Europe/Warsaw /etc/localtime | |
RUN echo "Europe/Warsaw" > /etc/timezone |
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
version: '3' | |
services: | |
bob-the-bot: | |
build: . | |
container_name: "bob-the-bot" | |
image: "bob-the-bot" | |
ports: | |
- 80:8080 | |
environment: |
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
CREATE DATABASE IF NOT EXISTS bob DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci; | |
USE bob; | |
CREATE TABLE IF NOT EXISTS brain (id INT,data TEXT, PRIMARY KEY (id)); |
OlderNewer